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 Andreas Hofmeister, mark.dickinson
Date 2010-06-22.08:26:14
SpamBayes Score 0.0319789
Marked as misclassified No
Message-id <1277195176.1.0.346147737741.issue9049@psf.upfronthosting.co.za>
In-reply-to
Content
> Is there any way to produce the desired behavior?

Not directly, in Python 2.x.  (But there's the 'nonlocal' keyword in 3.x.)  There are various workarounds, but what's best depends on what you're doing.  The python-list mailing list is probably a better place to get answers.
History
Date User Action Args
2010-06-22 08:26:16mark.dickinsonsetrecipients: + mark.dickinson, Andreas Hofmeister
2010-06-22 08:26:16mark.dickinsonsetmessageid: <1277195176.1.0.346147737741.issue9049@psf.upfronthosting.co.za>
2010-06-22 08:26:14mark.dickinsonlinkissue9049 messages
2010-06-22 08:26:14mark.dickinsoncreate