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, levkivskyi, rhettinger
Date 2015-05-15.08:44:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431679449.23.0.346535933144.issue24129@psf.upfronthosting.co.za>
In-reply-to
Content
Since no one proposed alternative ideas, I am submitting my proposal as a patch, with the following wording:

"""
A class definition is an executable statement that may use and define names. Free variables follow the normal rules for name resolution, while unbound local variables are looked up in the global namespace. The namespace of the class definition becomes the attribute dictionary of the class. Names defined at the class scope are not visible in methods
"""
History
Date User Action Args
2015-05-15 08:44:09levkivskyisetrecipients: + levkivskyi, rhettinger, docs@python
2015-05-15 08:44:09levkivskyisetmessageid: <1431679449.23.0.346535933144.issue24129@psf.upfronthosting.co.za>
2015-05-15 08:44:09levkivskyilinkissue24129 messages
2015-05-15 08:44:09levkivskyicreate