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 rhettinger
Recipients
Date 2004-10-26.01:50:23
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

Sorry, this isn't a bug.

Per the language reference, the global statement is not
executed like other python statements.  Instead, it is a
parser directive.  Hence, it doesn't matter whether the
globals are wrapped inside if blocks.  

The presence of the first occurrence of cPickle is
sufficient to define so that the subsequently parsed (not
executed) global directive cannot work.
History
Date User Action Args
2007-08-23 14:27:00adminlinkissue1053604 messages
2007-08-23 14:27:00admincreate