summaryrefslogtreecommitdiffstats
path: root/Misc/stable_abi.txt
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-06-23 13:51:47 (GMT)
committerGitHub <noreply@github.com>2021-06-23 13:51:47 (GMT)
commitdb532a09990c837ec1348e6e6bd2719f5d4a8216 (patch)
treef5b93ef99f6faba98468bad23f53bcde2dda0369 /Misc/stable_abi.txt
parent2a396d65b8e63300ff05e217adacf0765c502ba3 (diff)
downloadcpython-db532a09990c837ec1348e6e6bd2719f5d4a8216.zip
cpython-db532a09990c837ec1348e6e6bd2719f5d4a8216.tar.gz
cpython-db532a09990c837ec1348e6e6bd2719f5d4a8216.tar.bz2
bpo-39947: Remove old private trashcan C API functions (GH-26869)
Remove 4 C API private trashcan functions which were only kept for the backward compatibility of the stable ABI with Python 3.8 and older, since the trashcan API was not usable with the limited C API on Python 3.8 and older. The trashcan API was excluded from the limited C API in Python 3.9. Removed functions: * _PyTrash_deposit_object() * _PyTrash_destroy_chain() * _PyTrash_thread_deposit_object() * _PyTrash_thread_destroy_chain() The trashcan C API was never usable with the limited C API, since old trashcan macros accessed directly PyThreadState members like "_tstate->trash_delete_nesting", whereas the PyThreadState structure is opaque in the limited C API. Exclude also the PyTrash_UNWIND_LEVEL constant from the C API. The trashcan C API was modified in Python 3.9 by commit 38965ec5411da60d312b59be281f3510d58e0cf1 and in Python 3.10 by commit ed1a5a5baca8f61e9a99c5be3adc16b1801514fe to hide implementation details.
Diffstat (limited to 'Misc/stable_abi.txt')
-rw-r--r--Misc/stable_abi.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/Misc/stable_abi.txt b/Misc/stable_abi.txt
index 24c71d1..f104f84 100644
--- a/Misc/stable_abi.txt
+++ b/Misc/stable_abi.txt
@@ -1602,12 +1602,6 @@ function _PyThreadState_Init
function _PyThreadState_Prealloc
added 3.2
abi_only
-function _PyTrash_deposit_object
- added 3.2
- abi_only
-function _PyTrash_destroy_chain
- added 3.2
- abi_only
data _PyWeakref_CallableProxyType
added 3.2
abi_only
@@ -1920,12 +1914,6 @@ function Py_EncodeLocale
added 3.7 # (and 3.6.1 and 3.5.3)
function Py_SetPath
added 3.7 # (and 3.6.1 and 3.5.3)
-function _PyTrash_thread_deposit_object
- added 3.7 # (and 3.6.1 and 3.5.3)
- abi_only
-function _PyTrash_thread_destroy_chain
- added 3.7 # (and 3.6.1 and 3.5.3)
- abi_only
function PyErr_SetExcFromWindowsErr
added 3.7 # (and 3.6.1 and 3.5.3)
ifdef MS_WINDOWS