Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
pablogsal merged 1 commit into
python:3.10python/cpython:3.10from
miss-islington:backport-d168569-3.10miss-islington/cpython:backport-d168569-3.10Copy head branch name to clipboard
May 25, 2021
Merged

[3.10] bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI (GH-26241)#26353
pablogsal merged 1 commit into
python:3.10python/cpython:3.10from
miss-islington:backport-d168569-3.10miss-islington/cpython:backport-d168569-3.10Copy head branch name to clipboard

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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 encukou@gmail.com

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 <encukou@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
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

encukou commented May 25, 2021

Copy link
Copy Markdown
Member

Thank you!

@miss-islington

Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.