[issue9226] erroneous behavior when creating classes inside a closure

Mark Dickinson report at bugs.python.org
Sun Jul 11 22:30:31 CEST 2010

Mark Dickinson <dickinsm at gmail.com> added the comment:

I don't see anything in


to suggest that the class should behave differently from a nested function here;  that is, I'd expect UnboundLocalError.

nosy: +mark.dickinson

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list