STINNER Victor <vstin...@python.org> added the comment:

Stéphane Wirtel: "In fact, _Py_ctype_table is limited to the internal parts of 
the interpreter. So in this case, this one could not be used in an external 
tool. You can read: https://docs.python.org/3/c-api/stable.html";

You're right that pyctype.h is excluded from the limited C API. But almost all 
C extensions use the "regular" C API which includes header files in 
Include/cpython/.

The internal C API is something different: header files in Include/internal/.

I know that it's complicated, that why a README was written :-)
https://github.com/python/cpython/blob/master/Include/README.rst

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43816>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to