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 eric.snow
Recipients eric.snow, vstinner
Date 2019-02-02.01:32:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549071166.33.0.722526577548.issue35886@roundup.psfhosted.org>
In-reply-to
Content
FWIW, I was hoping to the same for PyThreadState but it looks like 6 of its fields are exposed in "stable" header files via the following macros:

  # Include/object.h
  Py_TRASHCAN_SAFE_BEGIN
  Py_TRASHCAN_SAFE_END
  Include.ceval.h
  Py_EnterRecursiveCall
  Py_LeaveRecursiveCall
  _Py_MakeRecCheck
  Py_ALLOW_RECURSION
  Py_END_ALLOW_RECURSION

I'm not sure how that factors into the stable ABI (PyThreadState wasn't ever guarded by Py_LIMITED_API).  However, I didn't need to deal with it right now so I'm not going to go there. :)
History
Date User Action Args
2019-02-02 01:32:47eric.snowsetrecipients: + eric.snow, vstinner
2019-02-02 01:32:46eric.snowsetmessageid: <1549071166.33.0.722526577548.issue35886@roundup.psfhosted.org>
2019-02-02 01:32:46eric.snowlinkissue35886 messages
2019-02-02 01:32:46eric.snowcreate