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:55:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618242957.78.0.815506603582.issue43816@roundup.psfhosted.org>
In-reply-to
Content
> 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
History
Date User Action Args
2021-04-12 15:55:57andrewvaughanjsetrecipients: + andrewvaughanj, matrixise
2021-04-12 15:55:57andrewvaughanjsetmessageid: <1618242957.78.0.815506603582.issue43816@roundup.psfhosted.org>
2021-04-12 15:55:57andrewvaughanjlinkissue43816 messages
2021-04-12 15:55:57andrewvaughanjcreate