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 Matthias Braun
Recipients Arfrever, Matthias Braun, belopolsky, benjamin.peterson, berker.peksag, docs@python, georg.brandl, herzbube, loewis, matrixise, rhettinger, serhiy.storchaka, skip.montanaro, vstinner
Date 2020-05-27.15:44:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590594279.83.0.670680512665.issue2897@roundup.psfhosted.org>
In-reply-to
Content
This wasn't mentioned before: Having PyMemberDef part of the structmember.h is a big problem for users of PEP384/limited API, because structmember.h is not part of it.

Which results in the odd situation that `Py_tp_members` or `PyDescr_NewMember()` are part of the limited API but technically you cannot use it because you are not supposed to include headers that are not part of `Python.h`.

The proposed patch here, would fix this!
History
Date User Action Args
2020-05-27 15:44:39Matthias Braunsetrecipients: + Matthias Braun, loewis, skip.montanaro, georg.brandl, rhettinger, belopolsky, vstinner, benjamin.peterson, Arfrever, herzbube, docs@python, berker.peksag, serhiy.storchaka, matrixise
2020-05-27 15:44:39Matthias Braunsetmessageid: <1590594279.83.0.670680512665.issue2897@roundup.psfhosted.org>
2020-05-27 15:44:39Matthias Braunlinkissue2897 messages
2020-05-27 15:44:39Matthias Brauncreate