Skip to content

Some Windows API calls in winreg didn't release the GIL #130000

Closed
@aisk

Description

@aisk

Bug report

Bug description:

I'm not sure whether we should release the GIL in every Windows API call, but for specific Windows API calls, sometimes the GIL gets released, like here, and sometimes it doesn't, like here.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Activity

added a commit that references this issue on May 15, 2025

gh-130000: Release the GIL in winreg when doing Windows API calls (GH…

7a504b3
added a commit that references this issue on May 15, 2025

pythongh-130000: Release the GIL in winreg when doing Windows API cal…

added a commit that references this issue on May 16, 2025

[3.14] gh-130000: Release the GIL in winreg when doing Windows API ca…

5374762
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

    OS-windowstype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Some Windows API calls in winreg didn't release the GIL · Issue #130000 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant