Fix_next should inform if global next is shadowed
Bug #882861 reported by
Denis Zawada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
awkwardduet |
Confirmed
|
Low
|
Unassigned |
Bug Description
E.g.
def next(it): pass
next = lambda it: None
Should result in a warning, much like in 2to3.
There are unused imports in the source code, so presumably the author didn’t get around implementing it:
from lib2to3.fixer_util import Call, find_binding
Changed in awkwardduet: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
To post a comment you must log in.