Skip to content

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

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

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions