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 levkivskyi
Recipients docs@python, gvanrossum, levkivskyi, yselivanov
Date 2016-09-09.12:13:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473423190.29.0.419504247084.issue27999@psf.upfronthosting.co.za>
In-reply-to
Content
I am attaching the patch.

Yury, I also added you here, just in case you have time for this.

Btw, while working on this I have found that the second restriction:

"""
Names listed in a global statement must not be ... in a for loop control target, class definition, function definition, or import statement.
"""

is not enforced at all, it does not give even a SyntaxWarning.
Is it something worth fixing?
History
Date User Action Args
2016-09-09 12:13:10levkivskyisetrecipients: + levkivskyi, gvanrossum, docs@python, yselivanov
2016-09-09 12:13:10levkivskyisetmessageid: <1473423190.29.0.419504247084.issue27999@psf.upfronthosting.co.za>
2016-09-09 12:13:10levkivskyilinkissue27999 messages
2016-09-09 12:13:10levkivskyicreate