Releases: pylint-dev/astroid
3.0.0a3
This is the third pre-release for astroid 3.0.0. For a full list of changes see https://github.com/pylint-dev/astroid/blob/v3.0.0a3/ChangeLog
2.15.5
-
Handle
objects.Superinhelpers.object_type().
v3.0.0a2
This is the second pre-release for astroid 3.0.0. For a full list of changes see https://github.com/pylint-dev/astroid/blob/v3.0.0a1/ChangeLog
v3.0.0a1
This is the first pre-release for astroid 3.0.0. For a full list of changes see https://github.com/pylint-dev/astroid/blob/v3.0.0a1/ChangeLog
v2.15.4
v2.15.3
-
Fix
infer_call_result()crash on methods calledwith_metaclass().Closes #1735
-
Suppress
UserWarningwhen finding module specs.Closes pylint-dev/pylint#7906
v2.15.2
-
Support more possible usages of
attrsdecorators.Closes pylint-dev/pylint#7884
v2.15.1
-
Restore behavior of setting a Call as a base for classes created using
six.with_metaclass(),
and harden support for using enums as metaclasses in this case.Reverts #1622
Refs pylint-dev/pylint#5935
Refs pylint-dev/pylint#7506
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
v2.14.2
-
'_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.
Closes pylint-dev/pylint#8109