◐ Shell
clean mode source ↗

[C API] Py_MOD_PER_INTERPRETER_GIL_SUPPORTED added to limited C API without versionning

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

@vstinner

Description

Three constants for PyModuleDef_Slot were added to the limited C API in Python 3.13:

  • Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED
  • Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTED
  • Py_MOD_PER_INTERPRETER_GIL_SUPPORTED

Problem: there are added without version, as if they are available on Python 3.12 and older, whereas it's not the case.

cc @encukou @ericsnowcurrently

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions