Skip to content

gh-101524: Only Use Public C-API in the _xxsubinterpreters Module - #105258

Merged
ericsnowcurrently merged 4 commits into
python:mainfrom
ericsnowcurrently:_xxsubinterpreters-public-api-only
Jun 2, 2023
Merged

ericsnowcurrently merged 4 commits into
python:mainfrom
ericsnowcurrently:_xxsubinterpreters-public-api-only

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Jun 2, 2023 •

Copy link
Copy Markdown
Member

The _xxsubinterpreters module was meant to only use public API. Some internal C-API usage snuck in over the last few years (e.g. gh-28969). This fixes that.

@ericsnowcurrently
ericsnowcurrently requested a review from a team as a code owner June 2, 2023 22:28
@ericsnowcurrently
ericsnowcurrently removed the request for review from a team June 2, 2023 22:28
@ericsnowcurrently
ericsnowcurrently enabled auto-merge (squash) June 2, 2023 22:30
@ericsnowcurrently
ericsnowcurrently merged commit e6373c0 into python:main Jun 2, 2023
@ericsnowcurrently
ericsnowcurrently deleted the _xxsubinterpreters-public-api-only branch June 2, 2023 23:11
@ericsnowcurrently ericsnowcurrently added the needs backport to 3.12 only security fixes label Jul 26, 2023
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ericsnowcurrently for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-107303 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 26, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 26, 2023
…le (pythongh-105258)

The _xxsubinterpreters module was meant to only use public API.  Some internal C-API usage snuck in over the last few years (e.g. pythongh-28969).  This fixes that.
(cherry picked from commit e6373c0)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
ericsnowcurrently added a commit that referenced this pull request Jul 27, 2023
…ule (gh-105258) (gh-107303)

The _xxsubinterpreters module was meant to only use public API.  Some internal C-API usage snuck in over the last few years (e.g. gh-28969).  This fixes that.
(cherry picked from commit e6373c0)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants