Unpacking-non-sequence raises error for Callable in collections.abc #4895
Labels
Bug 🪲
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Milestone
Bug description
This instance of the bug is a regression in pylint 2.10.2. It does not appear in pylint 2.9.
Related issues:
#4137
#4696
#4803
Command used
Pylint output
************* Module a a.py:9:8: E0633: Attempting to unpack a non-sequence defined at line 502 of _collections_abc (unpacking-non-sequence) ------------------------------------------------------------------ Your code has been rated at 1.67/10 (previous run: 1.67/10, +0.00)
Expected behavior
Shouldn't throw this error.
Pylint version
OS / Environment
Mac OS
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: