10000 gh-104108: Add the Py_mod_multiple_interpreters Module Def Slot by ericsnowcurrently · Pull Request #104148 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104108: Add the Py_mod_multiple_interpreters Module Def Slot #104148

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
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a NEWS entry.
  • Loading branch information
ericsnowcurrently committed May 3, 2023
commit 8cb5a5a7b21f856fff5504b439f1c3a892df7ddd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Multi-phase init extension modules may now indicate whether or not they
actually support multiple interpreters. By default such modules are
expected to support use in multiple interpreters. In the uncommon case that
one does not, it may use the new ``Py_mod_multiple_interpreters`` module def
slot. A value of ``0`` means the module does not support them. ``1`` means
it does. The default is ``1``.
0