Skip to content

Remove deprecated Py_TRASHCAN_SAFE_BEGIN/ Py_TRASHCAN_SAFE_END #105111

Closed
@iritkatriel

Description

@iritkatriel

Py_TRASHCAN_SAFE_BEGIN/ Py_TRASHCAN_SAFE_END were deprecated in 3.11, to be replaced by Py_TRASHCAN_BEGIN/Py_TRASHCAN_END which were added in 3.8. The deprecated macros are flawed (can lead to a crash) so we should not delay their removal.

For more history, see https://mail.python.org/archives/list/python-dev@python.org/message/KWFX6XX3HMZBQ2BYBVL7G74AIOPWO66Y/.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions