Setting the identical name between an attribute and a variable causes a fatal error #8754
Labels
C: used-before-assignment
Issues related to 'used-before-assignment' check
Crash 💥
A bug that makes pylint crash
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Setting the identical name between an attribute and a variable causes a fatal error. See the following example.
pylint_example.py
The expected behavior:
No fatal error
Pylint output:
Test environment:
pylint 3.0.0b1
astroid 3.0.0a5-dev0
Python 3.11.3
Ubuntu 18.04
The text was updated successfully, but these errors were encountered: