Antoine Pitrou <solip...@pitrou.net> added the comment:
The workaround that Cython had to added for this (temporarily enable Py_TPFLAGS_HEAPTYPE when calling PyType_Ready()) is fragile. It would be nice to rethink the approach here, or disable the check altogether. (or perhaps, expose another C API function - such as PyType_ReadyEx() - that allows disabling the check) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue22079> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com