diff options
author | Petr Viktorin <encukou@gmail.com> | 2021-05-25 11:42:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 11:42:03 (GMT) |
commit | d16856960e33bc5f64fc5b842f132058becafa37 (patch) | |
tree | 9fb11b501ada3bebcccb6936aaacd9d5dd1c7737 /Doc | |
parent | 63f17c252ab1b9357c5f022296213c42d9629458 (diff) | |
download | cpython-d16856960e33bc5f64fc5b842f132058becafa37.zip cpython-d16856960e33bc5f64fc5b842f132058becafa37.tar.gz cpython-d16856960e33bc5f64fc5b842f132058becafa37.tar.bz2 |
bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241)
Py_FrozenMain was added to the Limited C API in [bpo-42591]() (3.10.0a4);
but to fix that issue it would be enough to add it to the regular C API.
The function is undocumented, tests were added very recently ([bpo-44131]()),
and most importantly, it is not present in all builds of Python, as
the linker sometimes omits it as unused.
It should be added back when these issues are fixed.
Note that this does not affect Python's regular C API.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/data/stable_abi.dat | 1 | ||||
-rw-r--r-- | Doc/whatsnew/3.10.rst | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index d582204..50207ac 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -783,7 +783,6 @@ var,Py_FileSystemDefaultEncodeErrors,3.10, var,Py_FileSystemDefaultEncoding,3.2, function,Py_Finalize,3.2, function,Py_FinalizeEx,3.6, -function,Py_FrozenMain,3.10, function,Py_GenericAlias,3.9, function,Py_GenericAliasType,3.9, function,Py_GetBuildInfo,3.2, diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index a006eb4..233ee8b 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -1927,6 +1927,10 @@ Porting to Python 3.10 instead. (Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.) +* The undocumented function ``Py_FrozenMain`` has been removed from the + limited API. The function is mainly useful for custom builds of Python. + (Contributed by Petr Viktorin in :issue:`26241`) + Deprecated ---------- |