This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients benjamin.peterson, mark.dickinson, monsanto
Date 2010-07-11.20:30:21
SpamBayes Score 0.00041886614
Marked as misclassified No
Message-id <1278880231.41.0.516436648263.issue9226@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see anything in

http://docs.python.org/reference/executionmodel.html#naming-and-binding

to suggest that the class should behave differently from a nested function here;  that is, I'd expect UnboundLocalError.
History
Date User Action Args
2010-07-11 20:30:31mark.dickinsonsetrecipients: + mark.dickinson, benjamin.peterson, monsanto
2010-07-11 20:30:31mark.dickinsonsetmessageid: <1278880231.41.0.516436648263.issue9226@psf.upfronthosting.co.za>
2010-07-11 20:30:21mark.dickinsonlinkissue9226 messages
2010-07-11 20:30:21mark.dickinsoncreate