summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-03-19 11:41:49 (GMT)
committerGitHub <noreply@github.com>2021-03-19 11:41:49 (GMT)
commit28ad12f8fe889a741661eb99daacebd9243cc1ba (patch)
tree0519e059d23700bc0d9fe9b1bd4601559e49dbb4 /Tools
parent32eba61ea431c76f15a910c0a4eded7f5f8b9b34 (diff)
downloadcpython-28ad12f8fe889a741661eb99daacebd9243cc1ba.zip
cpython-28ad12f8fe889a741661eb99daacebd9243cc1ba.tar.gz
cpython-28ad12f8fe889a741661eb99daacebd9243cc1ba.tar.bz2
bpo-43244: Remove symtable.h header file (GH-24910)
Rename Include/symtable.h to to Include/internal/pycore_symtable.h, don't export symbols anymore (replace PyAPI_FUNC and PyAPI_DATA with extern) and rename functions: * PyST_GetScope() to _PyST_GetScope() * PySymtable_BuildObject() to _PySymtable_Build() * PySymtable_Free() to _PySymtable_Free() Remove PySymtable_Build(), Py_SymtableString() and Py_SymtableStringObject() functions. The Py_SymtableString() function was part the stable ABI by mistake but it could not be used, since the symtable.h header file was excluded from the limited C API. The Python symtable module remains available and is unchanged.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/stable_abi.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tools/scripts/stable_abi.py b/Tools/scripts/stable_abi.py
index cc1009d..0f9e365 100755
--- a/Tools/scripts/stable_abi.py
+++ b/Tools/scripts/stable_abi.py
@@ -24,7 +24,6 @@ EXCLUDED_HEADERS = {
"parsetok.h",
"pyatomic.h",
"pytime.h",
- "symtable.h",
"token.h",
"ucnhash.h",
}