This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrewvaughanj
Recipients andrewvaughanj, matrixise
Date 2021-04-12.15:46:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618242415.45.0.362179551442.issue43816@roundup.psfhosted.org>
In-reply-to
Content
> 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.
>

Hmm, so why is this "exposed" by the "world-facing" `Python.h` file?

I should say: we found this bug via Cython; and it was Cython that was accessing/referring to `_Py_ctype_table` -- our Cythonated code pulls in C++ headers, so we need to compile these files as C++.

I am happy to re-assign this as a Cython bug, but the fact it is fixed with an `extern "C"` in Python.h, really makes it feel like it is a Python-proper issue and not a "user" issue.
History
Date User Action Args
2021-04-12 15:46:55andrewvaughanjsetrecipients: + andrewvaughanj, matrixise
2021-04-12 15:46:55andrewvaughanjsetmessageid: <1618242415.45.0.362179551442.issue43816@roundup.psfhosted.org>
2021-04-12 15:46:55andrewvaughanjlinkissue43816 messages
2021-04-12 15:46:55andrewvaughanjcreate