Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3734

Add support for Per-Interpreter GIL

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      PEP-0684 adds support for a Per-Interpreter GIL in Python 3.12.

      In order to support this feature, we will need to implement Multi-phase extension module initialization in our extension modules which was done in PYTHON-3745.

      To test this we may need to wait for a Python API to be implemented (PEP-0734 Multiple Interpreters in the Stdlib).

      We also need to add the Py_MOD_PER_INTERPRETER_GIL_SUPPORTED flag to our C extensions.

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: