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 ncoghlan
Recipients ncoghlan, serhiy.storchaka, vstinner
Date 2018-11-05.11:53:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541418811.63.0.788709270274.issue35134@psf.upfronthosting.co.za>
In-reply-to
Content
On actually looking at the initial changes in the PR:

* declarations that aren't part of the stable ABI in any version (i.e. "#ifndef PY_LIMITED_API", "#if !defined(PY_LIMITED_API)") should move to the new directory

* declarations that are part of the stable ABI in *some* version should remain where they are (i.e. in "Include/*.h")

In your initial PR, the only API that subtle distinction affects is PyObject_Calloc (since that's a new addition to the stable ABI in 3.5+), and moving that back to the public header means you can add the desired "Py_LIMITED_API is not defined" check to the header in the new directory.
History
Date User Action Args
2018-11-05 11:53:31ncoghlansetrecipients: + ncoghlan, vstinner, serhiy.storchaka
2018-11-05 11:53:31ncoghlansetmessageid: <1541418811.63.0.788709270274.issue35134@psf.upfronthosting.co.za>
2018-11-05 11:53:31ncoghlanlinkissue35134 messages
2018-11-05 11:53:31ncoghlancreate