levkivskyi added the comment:

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
"""

----------
keywords: +patch
Added file: http://bugs.python.org/file39383/classdoc.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24129>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to