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 xtreak
Recipients gvanrossum, levkivskyi, rohanpadhye, xtreak
Date 2018-10-09.08:26:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539073591.14.0.545547206417.issue34939@psf.upfronthosting.co.za>
In-reply-to
Content
The error message was added with 6cff8744a0ae58c88728df8bbca4580ffa6c6a86 and issue27999. The docs were also changed as below with the commit : 

https://docs.python.org/3.8/reference/simple_stmts.html#the-global-statement

> Names listed in a global statement must not be defined as formal parameters or in a for loop control target, class definition, function definition, import statement, or variable annotation.


Thanks
History
Date User Action Args
2018-10-09 08:26:31xtreaksetrecipients: + xtreak, gvanrossum, levkivskyi, rohanpadhye
2018-10-09 08:26:31xtreaksetmessageid: <1539073591.14.0.545547206417.issue34939@psf.upfronthosting.co.za>
2018-10-09 08:26:31xtreaklinkissue34939 messages
2018-10-09 08:26:31xtreakcreate