[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call
Emanuel Barry
report at bugs.python.org
Sun Dec 4 16:12:01 EST 2016
Emanuel Barry added the comment:
As a matter of fact, A.__module__ in this case is abc.ABCMeta.__module__. A class body creates a __module__ key, while a direct metaclass call does not.
----------
nosy: +ebarry
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28869>
_______________________________________
More information about the Python-bugs-list
mailing list