[issue1324261] __name__ available during class dictionary build

Amaury Forgeot d'Arc report at bugs.python.org
Sun Mar 8 18:38:33 CET 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

This can be done with a metaclass:
the metaclass receives the name of the created class, and it's easy to 
update the class definition there.

----------
message_count: 1.0 -> 2.0
nosy: +amaury.forgeotdarc
nosy_count: 1.0 -> 2.0
resolution:  -> works for me
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1324261>
_______________________________________


More information about the Python-bugs-list mailing list