Releases: pylint-dev/astroid
v2.12.11
-
Improve detection of namespace packages for the modules with
__spec__
set to None.Closes pylint-dev/pylint#7488.
-
Fixed a regression in the creation of the
__init__
of dataclasses with
multiple inheritance.Closes pylint-dev/pylint#7434
v2.12.10
-
Fixed a crash when introspecting modules compiled by
cffi
.Closes #1776
Closes pylint-dev/pylint#7399 -
decorators.cached
now gets its cache cleared by callingAstroidManager.clear_cache
.Refs #1780
v2.12.9
-
Fixed creation of the
__init__
ofdataclassess
with multiple inheritance.Closes pylint-dev/pylint#7427
-
Fixed a crash on
namedtuples
that usetypename
to specify their name.Closes pylint-dev/pylint#7429
v2.12.8
-
Fixed a crash in the
dataclass
brain forInitVars
without subscript typing.Closes pylint-dev/pylint#7422
-
Fixed parsing of default values in
dataclass
attributes.Closes pylint-dev/pylint#7425
v2.12.7
-
Fixed a crash in the
dataclass
brain for uninferable bases.Closes pylint-dev/pylint#7418
v2.12.6
-
Fix a crash involving
Uninferable
arguments tonamedtuple()
.Closes pylint-dev/pylint#7375
-
The
dataclass
brain now understands thekw_only
keyword in dataclass decorators.Closes pylint-dev/pylint#7290
v2.12.5
-
Prevent first-party imports from being resolved to
site-packages
. -
Fix
astroid.interpreter._import.util.is_namespace()
incorrectly
returningTrue
for frozen stdlib modules on PyPy.Closes #1755
v2.12.4
-
Fixed a crash involving non-standard type comments such as
# type: # any comment
.
v2.12.3
-
Fixed crash in
ExplicitNamespacePackageFinder
involving_SixMetaPathImporter
.Closes #1708
-
Fix unhandled
FutureWarning
from pandas import in cython modulesCloses #1717
-
Fix false positive with inference of type-annotated Enum classes.
-
Fix crash with inference of type-annotated Enum classes where the member has no value.
-
Fix a crash inferring invalid old-style string formatting with
%
.Closes #1737
-
Fix false positive with inference of
http
module when iteratingHTTPStatus
. -
Bumped minimum requirement of
wrapt
to 1.14 on Python 3.11. -
Don't add dataclass fields annotated with
KW_ONLY
to the list of fields.