[issue45383] PyType_FromSpec API fails to use metaclass of bases
Sebastian Berg
report at bugs.python.org
Tue Oct 5 17:51:26 EDT 2021
New submission from Sebastian Berg <sebastian at sipsolutions.net>:
The PyType_FromSpec fails to take care about MetaClasses.
https://bugs.python.org/issue15870
Asks to create a new API to pass in the MetaClass. This issue is only about "inheriting" the metaclass of the bases correctly. Currently, Python fails to take into account that the bases may be MetaClass and not `PyType_Type` instances.
----------
components: C API, Interpreter Core
messages: 403273
nosy: petr.viktorin, seberg
priority: normal
pull_requests: 27093
severity: normal
status: open
title: PyType_FromSpec API fails to use metaclass of bases
type: crash
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45383>
_______________________________________
More information about the Python-bugs-list
mailing list