Skip to content

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

Closed
@ericsnowcurrently

Description

@ericsnowcurrently

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

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions