Message390858
> 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. |
|
Date |
User |
Action |
Args |
2021-04-12 15:46:55 | andrewvaughanj | set | recipients:
+ andrewvaughanj, matrixise |
2021-04-12 15:46:55 | andrewvaughanj | set | messageid: <1618242415.45.0.362179551442.issue43816@roundup.psfhosted.org> |
2021-04-12 15:46:55 | andrewvaughanj | link | issue43816 messages |
2021-04-12 15:46:55 | andrewvaughanj | create | |
|