v2.9.1
-
NodeNG.frame()
andNodeNG.statement()
will start raisingParentMissingError
instead ofAttributeError
in astroid 3.0. This behaviour can already be triggered
by passingfuture=True
to aframe()
orstatement()
call. -
Prefer the module loader get_source() method in AstroidBuilder's
module_build() when possible to avoid assumptions about source
code being available on a filesystem. Otherwise the source cannot
be found and application behavior changes when running within an
embedded hermetic interpreter environment (pyoxidizer, etc.). -
Require Python 3.6.2 to use astroid.
-
Removed custom
distutils
handling for resolving paths to submodules.Ref #1321
-
Fix
deque.insert()
signature incollections
brain.Closes #1260
-
Fix
Module
nodes not having acol_offset
,end_lineno
, andend_col_offset
attributes. -
Fix typing and update explanation for
Arguments.args
beingNone
. -
Fix crash if a variable named
type
is subscripted in a generator expression.Closes pylint-dev/pylint#5461
-
Enable inference of dataclass import from marshmallow_dataclass.
This allows the dataclasses brain to recognize dataclasses annotated by marshmallow_dataclass. -
Resolve symlinks in the import path
Fixes inference error when the import path includes symlinks (e.g. Python
installed on macOS via Homebrew).Closes #823
Closes pylint-dev/pylint#3499
Closes pylint-dev/pylint#4302
Closes pylint-dev/pylint#4798
Closes pylint-dev/pylint#5081