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 gvanrossum, levkivskyi, rohanpadhye, xtreak
Date 2018-10-09.09:38:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539077885.55.0.545547206417.issue34939@psf.upfronthosting.co.za>
In-reply-to
Content
Hm, I think this should be allowed. The formulation in the docs is not very clear, but the wording in the PEP clarifies the intention. Indeed, only annotations at the same scope with global declarations should be prohibited.

So I think this is a bug.
History
Date User Action Args
2018-10-09 09:38:05levkivskyisetrecipients: + levkivskyi, gvanrossum, xtreak, rohanpadhye
2018-10-09 09:38:05levkivskyisetmessageid: <1539077885.55.0.545547206417.issue34939@psf.upfronthosting.co.za>
2018-10-09 09:38:05levkivskyilinkissue34939 messages
2018-10-09 09:38:05levkivskyicreate