Open
Description
Bug description
def outer():
def inner():
print(i)
inner()
for i in range(5):
inner()
outer()
Configuration
No response
Command used
pylint a.py
Pylint output
no msg
Expected behavior
A new message possibly-used-before-assignment on line 3. Notice the second call to inner()
executes fine.
Pylint version
pylint 3.0.0a6
astroid 2.16.0dev0
Python 3.11.2
OS / Environment
No response
Additional dependencies
No response