[issue19301] Globals declared in function scope have wrong __qualname__
Benjamin Peterson
report at bugs.python.org
Sat Oct 19 20:15:39 CEST 2013
Benjamin Peterson added the comment:
I suppose it would also be desirable to have
def f():
C = None
def g():
nonlocal C
class C: pass
return g()
have a different qualname, too?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19301>
_______________________________________
More information about the Python-bugs-list
mailing list