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

gh-139227: Expose _PyImport_SwapPackageContext in the ABI#139228

Closed
ZeroIntensity wants to merge 1 commit into
python:mainpython/cpython:mainfrom
ZeroIntensity:swappackagecontextZeroIntensity/cpython:swappackagecontextCopy head branch name to clipboard
Closed

gh-139227: Expose _PyImport_SwapPackageContext in the ABI#139228
ZeroIntensity wants to merge 1 commit into
python:mainpython/cpython:mainfrom
ZeroIntensity:swappackagecontextZeroIntensity/cpython:swappackagecontextCopy head branch name to clipboard

Conversation

@ZeroIntensity

@ZeroIntensity ZeroIntensity commented Sep 22, 2025

Copy link
Copy Markdown
Member

@ZeroIntensity

Copy link
Copy Markdown
Member Author

@hugovk Would you be okay with this landing in 3.14.0?

@encukou

encukou commented Sep 22, 2025

Copy link
Copy Markdown
Member

It should definitely be unstable API. Exposing an internal function like this might be OK as an emergency change in 3.14 only -- that's up to @hugovk. But I wouldn't merge to main if it's not backported to 3.14.

@hugovk

hugovk commented Oct 1, 2025

Copy link
Copy Markdown
Member

This is too late for 3.14.0, especially as it also affects 3.12.

@ZeroIntensity

Copy link
Copy Markdown
Member Author

Let's just make this PyUnstable, then.

@ZeroIntensity ZeroIntensity deleted the swappackagecontext branch October 1, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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