[issue9226] erroneous behavior when creating classes inside a closure

Benjamin Peterson report at bugs.python.org
Sun Jul 11 23:05:54 CEST 2010


Benjamin Peterson <benjamin at python.org> added the comment:

Here's a patch. It raises a NameError in that case.

----------
keywords: +patch
Added file: http://bugs.python.org/file17953/obscure_corner_cases.patch

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


More information about the Python-bugs-list mailing list