[issue11339] annotation for class being defined

Terry J. Reedy report at bugs.python.org
Fri Mar 4 22:06:04 CET 2011

Terry J. Reedy <tjreedy at udel.edu> added the comment:

>The basic problem is that the class object is defined after the class definitions have been made,

I have sometimes thought the the class statement could start with binding the name to a blank object or new, blank class object. But then people might try to grab attributes (and fail!) outside of method defs.

nosy: +terry.reedy

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list