[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag
Pablo Galindo Salgado
report at bugs.python.org
Fri Apr 30 20:48:58 EDT 2021
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
The problem is that the curses module is using a function that requires to be built in the core:
#ifdef Py_BUILD_CORE
extern int _PyStructSequence_InitType(
PyTypeObject *type,
PyStructSequence_Desc *desc,
unsigned long tp_flags);
#endif
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43916>
_______________________________________
More information about the Python-bugs-list
mailing list