Amaury Forgeot d'Arc <amaur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue1324261> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com