Skip to content
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

Update the C-API "Sub-interpreter support" Section for PEP 684 #107305

Closed
ericsnowcurrently opened this issue Jul 26, 2023 · 0 comments
Closed

Update the C-API "Sub-interpreter support" Section for PEP 684 #107305

ericsnowcurrently opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir topic-C-API topic-subinterpreters

Comments

@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented Jul 26, 2023

Documentation

https://docs.python.org/3.12/c-api/init.html#sub-interpreter-support

  • add an entry for Py_NewInterpreterFromConfig() and PyInterpreterConfig
  • section about the consequences of a Per-interpreter GIL
  • fix Py_EndInterpreter() (and Py_NewInterpreter()?) about holding GIL before/after

(See https://peps.python.org/pep-0684/ and gh-99113.)

Linked PRs

@ericsnowcurrently ericsnowcurrently added docs Documentation in the Doc dir topic-subinterpreters topic-C-API 3.12 bugs and security fixes 3.13 bugs and security fixes labels Jul 26, 2023
@ericsnowcurrently ericsnowcurrently self-assigned this Jul 26, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 28, 2023
(cherry picked from commit c0b81c4)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
ericsnowcurrently added a commit that referenced this issue Jul 28, 2023
…07402)

gh-107305: Update the C-API Docs for PEP 684 (gh-107324)
(cherry picked from commit c0b81c4)

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
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes docs Documentation in the Doc dir topic-C-API topic-subinterpreters
Projects
Status: Done
Development

No branches or pull requests

1 participant