You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception on node <Call l.1 at 0x1076704c0>in file '/Users/.../pylint/a.py'
Traceback (most recent call last):
File "/Users/.../pylint/pylint/utils/ast_walker.py", line 73, in walk
callback(astroid)
File "/Users/.../pylint/pylint/checkers/typecheck.py", line 2076, in visit_call
self._check_iterable(stararg.value)
File "/Users/.../pylint/pylint/checkers/typecheck.py", line 2041, in _check_iterable
inferred = safe_infer(node)
File "/Users/.../pylint/pylint/checkers/utils.py", line 1225, in safe_infer
value = next(infer_gen)
File "/Users/.../astroid/astroid/nodes/node_ng.py", line 166, in infer
yield from self._infer(context=context, **kwargs)
File "/Users/.../astroid/astroid/decorators.py", line 136, in raise_if_nothing_inferred
yield next(generator)
File "/Users/.../astroid/astroid/decorators.py", line 105, in wrapped
forresin _func(node, context, **kwargs):
File "/Users/.../astroid/astroid/bases.py", line 134, in _infer_stmts
forinfin stmt.infer(context=context):
File "/Users/.../astroid/astroid/nodes/node_ng.py", line 180, in infer
fori, resultin enumerate(generator):
File "/Users/.../astroid/astroid/decorators.py", line 136, in raise_if_nothing_inferred
yield next(generator)
File "/Users/.../astroid/astroid/decorators.py", line 105, in wrapped
forresin _func(node, context, **kwargs):
File "/Users/.../astroid/astroid/inference.py", line 954, in infer_assign
stmts = list(self.assigned_stmts(context=context))
File "/Users/.../astroid/astroid/decorators.py", line 123, in yes_if_nothing_inferred
yield next(generator)
File "/Users/.../astroid/astroid/protocols.py", line 725, in starred_assigned_stmts
forindex, left_nodein enumerate(lhs.elts):
AttributeError: 'AssignName' object has no attribute 'elts'
Expected behavior
no msg
Pylint version
pylint 2.14.0-dev0
astroid 2.12.0-dev0
Python 3.10.1 (v3.10.1:2cd268a3a9, Dec 6 2021, 14:28:59) [Clang 13.0.0 (clang-1300.0.29.3)]
Reproduced on pylint 2.0.0 also!
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered:
Bug description
Simplified from an example in
pip
(their vendored copy ofrich
)Configuration
Command used
Pylint output
Expected behavior
no msg
Pylint version
pylint 2.14.0-dev0 astroid 2.12.0-dev0 Python 3.10.1 (v3.10.1:2cd268a3a9, Dec 6 2021, 14:28:59) [Clang 13.0.0 (clang-1300.0.29.3)] Reproduced on pylint 2.0.0 also!
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: