summaryrefslogtreecommitdiffstats
path: root/Doc/data
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-13 11:40:22 (GMT)
committerGitHub <noreply@github.com>2022-05-13 11:40:22 (GMT)
commit059b5baf98c9503d9d59c79fba117826caa5a3e1 (patch)
tree65c3379d48280ccdea4e6b4f8adcb103065905a4 /Doc/data
parentf62ad4f2c4214fdc05cc45c27a5c068553c7942c (diff)
downloadcpython-059b5baf98c9503d9d59c79fba117826caa5a3e1.zip
cpython-059b5baf98c9503d9d59c79fba117826caa5a3e1.tar.gz
cpython-059b5baf98c9503d9d59c79fba117826caa5a3e1.tar.bz2
gh-85858: Remove PyUnicode_InternImmortal() function (#92579)
Remove the PyUnicode_InternImmortal() function and the SSTATE_INTERNED_IMMORTAL macro. The PyUnicode_InternImmortal() function is still exported in the stable ABI. The function is removed from the API. PyASCIIObject.state.interned size is now a single bit, rather than 2 bits. Keep SSTATE_NOT_INTERNED and SSTATE_INTERNED_MORTAL macros for backward compatibility, but no longer use them internally since the interned member is now a single bit and so can only have two values (interned or not interned). Update stats of _PyUnicode_ClearInterned().
Diffstat (limited to 'Doc/data')
-rw-r--r--Doc/data/stable_abi.dat1
1 files changed, 0 insertions, 1 deletions
diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat
index 3486f33..3912a7c 100644
--- a/Doc/data/stable_abi.dat
+++ b/Doc/data/stable_abi.dat
@@ -762,7 +762,6 @@ function,PyUnicode_FromWideChar,3.2,,
function,PyUnicode_GetDefaultEncoding,3.2,,
function,PyUnicode_GetLength,3.7,,
function,PyUnicode_InternFromString,3.2,,
-function,PyUnicode_InternImmortal,3.2,,
function,PyUnicode_InternInPlace,3.2,,
function,PyUnicode_IsIdentifier,3.2,,
function,PyUnicode_Join,3.2,,