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 iritkatriel
Recipients iritkatriel
Date 2021-08-09.18:58:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628535485.5.0.0461415222233.issue44874@roundup.psfhosted.org>
In-reply-to
Content
The old trashcan macros - Py_TRASHCAN_SAFE_BEGIN/END are unsafe (see Issue40608).

They were removed from the limited C API in 3.9: 
https://github.com/python/cpython/blob/main/Doc/whatsnew/3.9.rst#removed-1

They should be removed altogether, in favour of Py_TRASHCAN_BEGIN/END. Since they are not documented, I think this would be done by changing the comment before their definition in Include/cpython/object.h.
History
Date User Action Args
2021-08-09 18:58:05iritkatrielsetrecipients: + iritkatriel
2021-08-09 18:58:05iritkatrielsetmessageid: <1628535485.5.0.0461415222233.issue44874@roundup.psfhosted.org>
2021-08-09 18:58:05iritkatriellinkissue44874 messages
2021-08-09 18:58:05iritkatrielcreate