[issue19263] enum.py : Enum.__new__(). __objclass__

Ethan Furman report at bugs.python.org
Mon Oct 21 22:48:24 CEST 2013


Ethan Furman added the comment:

Well, with all the changes to inspect to properly locate attributes in the class and metaclass mro, __objclass__ is necessary to get the home class correct (without it inspect thinks it lives in the EnumMeta metaclass).

----------

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


More information about the Python-bugs-list mailing list