Message390860
> 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.
>
Just to extend on this:
1) The Cython-generated code uses `Py_ISSPACE` (and not `_Py_ctype_table`), but the expansion of the macro `Py_ISSPACE` then adds `_Py_ctype_table` to the user's code
2) The "user-fix" is to wrap `#include <Python.h>` in `extern "C"` -- however, given other parts of Python.h already do this, it seems extraneous to expect a C++ user to wrap Python.h in this way |
|
Date |
User |
Action |
Args |
2021-04-12 15:55:57 | andrewvaughanj | set | recipients:
+ andrewvaughanj, matrixise |
2021-04-12 15:55:57 | andrewvaughanj | set | messageid: <1618242957.78.0.815506603582.issue43816@roundup.psfhosted.org> |
2021-04-12 15:55:57 | andrewvaughanj | link | issue43816 messages |
2021-04-12 15:55:57 | andrewvaughanj | create | |
|