[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

Serhiy Storchaka report at bugs.python.org
Sun Oct 13 07:03:48 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 14166 now fixes the issue in more generic way. It skips one additional frame when type.__new__ is called not directly from type.__call__.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28869>
_______________________________________


More information about the Python-bugs-list mailing list