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, eric.smith, matrixise, scoder, vstinner
Date 2021-04-12.20:27:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618259269.64.0.83324093653.issue43816@roundup.psfhosted.org>
In-reply-to
Content
> I think the fact that they've been moved to Include/cpython means that user
> code shouldn't be using them.
>

I think it is fine to say that they shouldn't be used, but then we get this from Victor's blog:

> It was decided that internal header files must not be included implicitly by
> the generic #include <Python.h>, but included explicitly. 
>

So, is it the case that we have two issues here:

    1) Cython is using stuff it shouldn't (I can do a PR against Cython)

    2) Python.h is exposing more than it should (so, if Python "core" wants something from pyctype.h, it should be explicitly including pyctype.h and not getting via Python.h)

?
History
Date User Action Args
2021-04-12 20:27:49andrewvaughanjsetrecipients: + andrewvaughanj, scoder, vstinner, eric.smith, matrixise
2021-04-12 20:27:49andrewvaughanjsetmessageid: <1618259269.64.0.83324093653.issue43816@roundup.psfhosted.org>
2021-04-12 20:27:49andrewvaughanjlinkissue43816 messages
2021-04-12 20:27:49andrewvaughanjcreate