Skip to content

[3.14] gh-132775: Make _PyXI_session Opaque (gh-134452) #134522

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

Merged
merged 2 commits into from
May 22, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 22, 2025

This is mostly a refactor to clean things up a bit, most notably the "XI namespace" code.

Making the session opaque requires adding the following internal-only functions:

  • _PyXI_NewSession()
  • _PyXI_FreeSession()
  • _PyXI_GetMainNamespace()
    (cherry picked from commit 4a4ac3a)

Co-authored-by: Eric Snow [email protected]

This is mostly a refactor to clean things up a bit, most notably the "XI namespace" code.

Making the session opaque requires adding the following internal-only functions:

* _PyXI_NewSession()
* _PyXI_FreeSession()
* _PyXI_GetMainNamespace()
(cherry picked from commit 4a4ac3a)

Co-authored-by: Eric Snow <[email protected]>
@ericsnowcurrently ericsnowcurrently merged commit 04e2dd6 into python:3.14 May 22, 2025
41 checks passed
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.

2 participants