commit | ed1a5a5baca8f61e9a99c5be3adc16b1801514fe | [log] [tgz] |
---|---|---|
author | Hai Shi <shihai1992@gmail.com> | Wed Nov 25 06:03:31 2020 +0800 |
committer | GitHub <noreply@github.com> | Tue Nov 24 23:03:31 2020 +0100 |
tree | f3db72407b31e7a94b025ab181455df83d770780 | |
parent | 0ec34cab9dd4a7bcddafaeeb445fae0f26afcdd1 [diff] |
bpo-40170: Hide impl detail of Py_TRASHCAN_BEGIN macro (GH-23235) The Py_TRASHCAN_BEGIN macro no longer accesses PyTypeObject attributes, but now can get the condition by calling the new private _PyTrash_cond() function which hides implementation details.