]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241)
authorPetr Viktorin <encukou@gmail.com>
Tue, 25 May 2021 11:42:03 +0000 (13:42 +0200)
committerGitHub <noreply@github.com>
Tue, 25 May 2021 11:42:03 +0000 (04:42 -0700)
commitd16856960e33bc5f64fc5b842f132058becafa37
tree9fb11b501ada3bebcccb6936aaacd9d5dd1c7737
parent63f17c252ab1b9357c5f022296213c42d9629458
 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.
Doc/data/stable_abi.dat
Doc/whatsnew/3.10.rst
Include/cpython/pylifecycle.h
Include/pylifecycle.h
Misc/NEWS.d/next/C API/2021-05-19-15-09-47.bpo-43795.WAHRxt.rst [new file with mode: 0644]
Misc/stable_abi.txt
PC/python3dll.c