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 <>
The old trashcan macros - Py_TRASHCAN_SAFE_BEGIN/END are unsafe (see Issue40608).

They were removed from the limited C API in 3.9:

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.
Date User Action Args
2021-08-09 18:58:05iritkatrielsetrecipients: + iritkatriel
2021-08-09 18:58:05iritkatrielsetmessageid: <>
2021-08-09 18:58:05iritkatriellinkissue44874 messages
2021-08-09 18:58:05iritkatrielcreate