Skip to content

Documented Py_mod_multiple_interpreters default is incorrect #129405

Description

@encukou

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

Activity

  1. added a commit that references this issue on Feb 24, 2025
  2. added a commit that references this issue on Feb 24, 2025
  3. added 3 commits that reference this issue on Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions