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 multun
Recipients antoine.pietri, anton.barkovsky, multun, terry.reedy
Date 2018-10-12.20:56:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539377812.16.0.788709270274.issue34961@psf.upfronthosting.co.za>
In-reply-to
Content
Closing, this is documented, and as such most likely intended.

"A class definition is an executable statement that may use and define names. These references follow the normal rules for name resolution with an exception that unbound local variables are looked up in the global namespace."
https://docs.python.org/3.7/reference/executionmodel.html#builtins-and-restricted-execution
History
Date User Action Args
2018-10-12 20:56:52multunsetrecipients: + multun, terry.reedy, anton.barkovsky, antoine.pietri
2018-10-12 20:56:52multunsetmessageid: <1539377812.16.0.788709270274.issue34961@psf.upfronthosting.co.za>
2018-10-12 20:56:52multunlinkissue34961 messages
2018-10-12 20:56:52multuncreate