[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call
Ivan Levkivskyi
report at bugs.python.org
Sun Jul 21 05:44:03 EDT 2019
Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:
FWIW I like Serhiy's approach more. I have never seen a single metaclass overriding type.__call__, while overriding type.__new__ is a common practice.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28869>
_______________________________________
More information about the Python-bugs-list
mailing list