[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-10-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85562. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-10-01 Thread Jeremy Thurgood
Changes by Jeremy Thurgood : -- nosy: +jerith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Dan Uznanski
Changes by Dan Uznanski : -- nosy: +dan.uznanski ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Jeremy Hylton
Jeremy Hylton added the comment: Let me fix that. -- nosy: +Jeremy.Hylton ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-09-30 Thread Ivo van der Wijk
New submission from Ivo van der Wijk : This issue is also discussed on Stackoverflow: http://stackoverflow.com/q/3828611/320057 The following code def top(deck): pass def b(): global deck results in the error "SyntaxError: name 'deck' is local and global" (slightly different for 3.x