STINNER Victor <vstinner at python.org> added the comment: The Tools/scripts/abitype.py script can help to port C extensions to PyType_FromSpec(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue40077> _______________________________________