Andreas Hofmeister <andreas.hofmeis...@yahoo.de> added the comment:

Thank you for your assistance. I apologize for not examining the reference 
manual closely. 
Is there any way to produce the desired behavior? I currently work around the 
local name binding like this:

def x():
     a = [False]
     def y():
         print a[0]
         a[0] = True
     return y

However, using a list here seems awkward.
Thank you for your attention.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to