New submission from Sebastian Berg <sebast...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue45383> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com