Closed roey-e closed 3 years ago
Minimal failing code that fails on Python 3.8 and the current master branches of pylint and astroid:
*rest, a = [1, 2]
print(*rest)
This is a bug in Astroid, where it has in fact already been reported: PyCQA/astroid/pull/842
I can no longer reproduce this after https://github.com/PyCQA/astroid/pull/842 has been merged.
Steps to reproduce
https://github.com/roey-e/unlintable
(install a virtual environment with pylint)pylint unlintable.py
The code:
Current behavior
Exception is raised
Expected behavior
Regular pylint output.
pylint --version output