[issue40703] PyType_FromSpec*() overwrites the type's "__module__"
Stefan Behnel
report at bugs.python.org
Wed Jun 10 12:09:09 EDT 2020
Stefan Behnel <stefan_ml at behnel.de> added the comment:
New changeset 24b8bad6d30ae4fb37ee686a073adfa5308659f9 by scoder in branch 'master':
bpo-40703: Let PyType_FromSpec() set "type.__module__" only if it is not set yet. (GH-20273)
https://github.com/python/cpython/commit/24b8bad6d30ae4fb37ee686a073adfa5308659f9
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40703>
_______________________________________
More information about the Python-bugs-list
mailing list