v2.15.0
-
astroid now supports
TryStarnodes from python 3.11 and should be fully compatible with python 3.11.Closes #2028
-
Formattedvalue.postinitis now keyword only. This is to allow correct typing of the
Formattedvalueclass.Refs #1516
-
Astroidnow supports custom import hooks. -
astroidnow infers return values from match cases. -
AstroidManager.clear_cachenow also clears the inference context cache.Refs #1780
-
Astroidnow retrieves the default values of keyword only arguments and sets them on
Arguments.kw_defaults. -
Uninferablenow has the typeUninferableBase. This is to facilitate correctly type annotating
code that uses this singleton.Closes #1680
-
Deprecate
modutils.is_standard_module(). It will be removed in the next minor release.
Functionality has been replaced by two new functions,
modutils.is_stdlib_module()andmodutils.module_in_path().Closes #2012
-
Fix
are_exclusivefunction when a walrus operator is used insideIfExp.testfield.Closes #2022