[issue15870] PyType_FromSpec should take metaclass as an argument

Sebastian Berg report at bugs.python.org
Tue Sep 28 16:58:43 EDT 2021


Sebastian Berg <sebastian at sipsolutions.net> added the comment:

> But if tp_name is created dynamically, it could lead to a dangling pointer.

I will guess this is probably just an oversight/bug since the main aim was to move towards heap-types, and opened an issue: https://bugs.python.org/issue45315

----------

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


More information about the Python-bugs-list mailing list