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

Documented Py_mod_multiple_interpreters default is incorrect #129405

Open
encukou opened this issue Jan 28, 2025 · 0 comments
Open

Documented Py_mod_multiple_interpreters default is incorrect #129405

encukou opened this issue Jan 28, 2025 · 0 comments
Labels

Comments

@encukou
Copy link
Member

encukou commented Jan 28, 2025

Docs added in #107306 say the default for Py_mod_multiple_interpreters is Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED, but the actual default is Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED (preserving pre-3.12 behaviour):

/* By default, multi-phase init modules are expected
to work under multiple interpreters. */
if (!has_multiple_interpreters_slot) {
multiple_interpreters = Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED;

cc @ericsnowcurrently

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Status: Todo
Development

No branches or pull requests

1 participant