-
- Downloads
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.
Showing
- Doc/data/stable_abi.dat 0 additions, 1 deletionDoc/data/stable_abi.dat
- Doc/whatsnew/3.10.rst 16 additions, 0 deletionsDoc/whatsnew/3.10.rst
- Include/cpython/pythonrun.h 0 additions, 11 deletionsInclude/cpython/pythonrun.h
- Include/internal/pycore_symtable.h 125 additions, 0 deletionsInclude/internal/pycore_symtable.h
- Include/pythonrun.h 0 additions, 5 deletionsInclude/pythonrun.h
- Include/symtable.h 0 additions, 124 deletionsInclude/symtable.h
- Makefile.pre.in 1 addition, 1 deletionMakefile.pre.in
- Misc/NEWS.d/next/C API/2021-03-17-23-53-14.bpo-43244.kfPqA_.rst 16 additions, 0 deletions...EWS.d/next/C API/2021-03-17-23-53-14.bpo-43244.kfPqA_.rst
- Modules/symtablemodule.c 2 additions, 3 deletionsModules/symtablemodule.c
- PC/python3dll.c 0 additions, 1 deletionPC/python3dll.c
- PCbuild/pythoncore.vcxproj 1 addition, 0 deletionsPCbuild/pythoncore.vcxproj
- PCbuild/pythoncore.vcxproj.filters 3 additions, 0 deletionsPCbuild/pythoncore.vcxproj.filters
- Python/compile.c 8 additions, 8 deletionsPython/compile.c
- Python/pythonrun.c 0 additions, 43 deletionsPython/pythonrun.c
- Python/symtable.c 36 additions, 25 deletionsPython/symtable.c
- Tools/scripts/stable_abi.py 0 additions, 1 deletionTools/scripts/stable_abi.py
Loading
Please register or sign in to comment