Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.10] bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241) #26353

Merged
merged 1 commit into from
May 25, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 25, 2021

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.
(cherry picked from commit d168569)

Co-authored-by: Petr Viktorin [email protected]

https://bugs.python.org/issue43795

…thonGH-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.
(cherry picked from commit d168569)

Co-authored-by: Petr Viktorin <[email protected]>
@miss-islington
Copy link
Contributor Author

@encukou: Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

@encukou: Status check is done, and it's a success ✅ .

@pablogsal pablogsal merged commit 68b9c20 into python:3.10 May 25, 2021
@miss-islington miss-islington deleted the backport-d168569-3.10 branch May 25, 2021 11:59
@encukou
Copy link
Member

encukou commented May 25, 2021

Thank you!

@miss-islington
Copy link
Contributor Author

@encukou: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants