Skip to content

[3.12] gh-101524: Only Use Public C-API in the _xxsubinterpreters Module (gh-105258) - #107303

Merged
ericsnowcurrently merged 2 commits into
python:3.12from
miss-islington:backport-e6373c0-3.12
Jul 27, 2023
Merged

ericsnowcurrently merged 2 commits into
python:3.12from
miss-islington:backport-e6373c0-3.12

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 26, 2023 •

Copy link
Copy Markdown
Contributor

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

…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
ericsnowcurrently requested review from Yhg1s and removed request for a team July 26, 2023 17:18
@ericsnowcurrently

Copy link
Copy Markdown
Member

This change allows me to independently build the _xxsubinterpreters module against 3.12 without Py_BUILD_CORE, for publishing to PyPI.

Comment thread Modules/_xxinterpchannelsmodule.c Resolved
@ericsnowcurrently
ericsnowcurrently enabled auto-merge (squash) July 27, 2023 19:15
@ericsnowcurrently
ericsnowcurrently merged commit 57ef065 into python:3.12 Jul 27, 2023
@miss-islington
miss-islington deleted the backport-e6373c0-3.12 branch July 27, 2023 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants