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 olau
Recipients benjamin.peterson, olau
Date 2009-11-09.11:39:09
SpamBayes Score 0.0035959897
Marked as misclassified No
Message-id <1257766756.09.0.564059508624.issue7276@psf.upfronthosting.co.za>
In-reply-to
Content
OK, sorry, I was under the impression that the global binding was still 
available (I can't find anything to the contrary here 
http://docs.python.org/reference/simple_stmts.html#assignment-statements 
) but it's obviously using a static definition of scope.

The error message isn't super helpful, though. :) Would it make sense to 
add a "(non-local "tmp" is shadowed)"? I guess that's easy to detect?
History
Date User Action Args
2009-11-09 11:39:16olausetrecipients: + olau, benjamin.peterson
2009-11-09 11:39:16olausetmessageid: <1257766756.09.0.564059508624.issue7276@psf.upfronthosting.co.za>
2009-11-09 11:39:09olaulinkissue7276 messages
2009-11-09 11:39:09olaucreate