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 vstinner
Recipients colesbury, gregory.p.smith, vstinner
Date 2020-03-31.17:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Currently, C++ code that includes `<Python.h>` is warning-free in GCC (g++) even with `-Wpedantic`. That won't be true after this change, unless Py_LIMITED_API is defined.

By the way, the current trend is to make more and more structures opaque in the C API. See for example:

* bpo-39573: Make PyObject an opaque structure in the limited C API
* bpo-39947: Make the PyThreadState structure opaque (move it to the internal C API)
Date User Action Args
2020-03-31 17:25:15vstinnersetrecipients: + vstinner, gregory.p.smith, colesbury
2020-03-31 17:25:15vstinnersetmessageid: <>
2020-03-31 17:25:15vstinnerlinkissue40120 messages
2020-03-31 17:25:15vstinnercreate