[issue7329] global statements outside functions/methods should raise SyntaxError

Benjamin Peterson report at bugs.python.org
Sun Nov 15 18:33:42 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

Please bring this up on Python-dev if you'd like to change it. The fact
that there's a test verifying that this can happen suggests there is
some reason.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7329>
_______________________________________


More information about the Python-bugs-list mailing list