[issue1888] strange 'global'

Guido van Rossum report at bugs.python.org
Tue Jan 22 04:24:28 CET 2008


Guido van Rossum added the comment:

This isn't going to change. 'global' is one of those rare pieces of
syntax that are not executed by the interpreter but detected by the parser.

Note that there are other things like this, e.g. the presence of 'yield'
in a function makes it a generator.

FWIW, the "if 0:" issue is different; that's a genuine bug, see issue #1875.

----------
nosy: +gvanrossum
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1888>
__________________________________


More information about the Python-bugs-list mailing list