GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement PEP 684: A Per-Interpreter GIL · Issue #99113 · python/cpython

Implement PEP 684: A Per-Interpreter GIL #99113

New issue
Copy link
New issue
Copy link
Closed
Closed
Implement PEP 684: A Per-Interpreter GIL#99113
Copy link
Labels
3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement

Description

@ericsnowcurrently
ericsnowcurrently
opened on Nov 5, 2022
Issue body actions

While PEP 684 is not accepted yet (and could get rejected, of course), it would be helpful to have an issue against which I can start creating draft PRs for the implementation.

This issue isn't for all the prerequisite work for a per-interpreter GIL, rather just the implementation of what's actually specified in the PEP. The rest is happening separately.

(Also see my checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan)

  • PR: gh-99113: A Per-Interpreter GIL! #99114
  • PR: gh-99113: Share the GIL via PyInterpreterState.ceval.gil #104203
  • PR: gh-99113: Add PyInterpreterConfig.own_gil #104204
  • PR: gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED #104205
  • PR: gh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED #104206
  • PR: gh-99113: Make Sure the GIL is Acquired at the Right Places #104208
  • PR: gh-99113: A Per-Interpreter GIL! #104209
  • PR: gh-99113: A Per-Interpreter GIL! #104210
  • PR: gh-99113: Add a What's New Entry for PEP 684 #107520
  • PR: [3.12] gh-99113: Add a What's New Entry for PEP 684 (gh-107520) #107523
  • PR: [3.12] gh-99113: restore behaviour of PyThreadState_Swap #123079
Reacted by Kirill Podoprigora, Erlend E. Aasland, Will, x0s, Zhan Rongrui and Hugo van Kemenade

Activity

  1. ericsnowcurrently
    added
    type-featureA feature request or enhancementA feature request or enhancement
    interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
    topic-subinterpreters
    3.12only security fixesonly security fixes
    on Nov 5, 2022
  2. ezio-melotti
    added this to Subinterpreterson Nov 5, 2022
  3. ericsnowcurrently
    added a commit that references this issue on May 5, 2023

    gh-99113: Share the GIL via PyInterpreterState.ceval.gil (gh-104203)

    55671fe
  4. ericsnowcurrently commented on May 5, 2023

    @ericsnowcurrently
    ericsnowcurrently
    on May 5, 2023
    MemberAuthor
    More actions

    Docs updates:

    • add docs for Py_NewInterpreterFromConfig() and PyInterpreterConfig
    • gh-99113: A Per-Interpreter GIL! #99114 (comment)
    • ...
  5. ericsnowcurrently
    added 2 commits that reference this issue on May 5, 2023

    gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)

    a9c6e06

    gh-99113: Add PyInterpreterConfig.own_gil (gh-104204)

    f3e7eb4
  6. carljm
    added a commit that references this issue on May 5, 2023

    Merge branch 'main' into inlinecomp2

    baacf5f
  7. ericsnowcurrently
    added 2 commits that reference this issue on May 6, 2023

    gh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-10…

    fff193b

    gh-99113: Make Sure the GIL is Acquired at the Right Places (gh-104208)

    92d8bff
  8. jbower-fb
    added 5 commits that reference this issue on May 8, 2023

    pythongh-99113: Share the GIL via PyInterpreterState.ceval.gil (pytho…

    0826f80

    pythongh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (pythongh-10…

    7192a46

    pythongh-99113: Add PyInterpreterConfig.own_gil (pythongh-104204)

    b057233

    pythongh-99113: Add a check for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (p…

    fc1e63f

    pythongh-99113: Make Sure the GIL is Acquired at the Right Places (py…

    74d38ea
  9. ericsnowcurrently
    added a commit that references this issue on May 8, 2023

    gh-99113: A Per-Interpreter GIL! (gh-104210)

    5c9ee49
  10. carljm
    added 4 commits that reference this issue on May 9, 2023

    Merge branch 'main' into inlinecomp2

    76077cd

    Merge branch 'main' into fixsendfamily

    a614216

    Merge branch 'main' into supermon

    c48eee3

    Merge branch 'main' into fixloadsuperspec

    cf11908
  11. ericsnowcurrently
    added a commit that references this issue on Jul 31, 2023

    gh-99113: Add a What's New Entry for PEP 684 (gh-107520)

    79e479c
  12. miss-islington
    added a commit that references this issue on Jul 31, 2023

    pythongh-99113: Add a What's New Entry for PEP 684 (pythongh-107520)

    d68c535
  13. ericsnowcurrently
    added a commit that references this issue on Jul 31, 2023

    [3.12] gh-99113: Add a What's New Entry for PEP 684 (gh-107520) (gh-1…

    31cd12a
  14. erlend-aasland commented on Jan 5, 2024

    @erlend-aasland
    erlend-aasland
    on Jan 5, 2024
    Contributor
    More actions

    @ericsnowcurrently, do you still want to keep this open? IIRC, most of the follow-up work is tracked in separate issues.

  15. ericsnowcurrently commented on Jan 5, 2024

    @ericsnowcurrently
    ericsnowcurrently
    on Jan 5, 2024
    MemberAuthor
    More actions

    Yeah, I think you're right.

  16. ericsnowcurrently
    closed this as completedon Jan 5, 2024
  17. github-project-automation
    moved this to Done in Subinterpreterson Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-featureA feature request or enhancementA feature request or enhancement

    Projects

    • Subinterpreters
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.