[issue9226] erroneous behavior when creating classes inside a closure

R. David Murray report at bugs.python.org
Sun Jul 11 22:53:53 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

I agree with Mark, I'd expect an UnboundLocalError.   I remembered this thread on Python-dev that may or may not be relevant, but is certainly analogous:

http://www.mail-archive.com/python-dev@python.org/msg37576.html

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9226>
_______________________________________


More information about the Python-bugs-list mailing list