Skip to content

Mismatch in description of PyThreadState_Delete and PyThreadState_DeleteCurrent #133989

Closed
@AlexanderWells-diamond

Description

@AlexanderWells-diamond

Documentation

It seems that the description for PyThreadState_Delete and PyThreadState_DeleteCurrent have a disagreement.

Under the _Delete method is the description: ...The global interpreter lock need not be held.

Under the _DeleteCurrent method is the description: Like PyThreadState_Delete, the global interpreter lock must be held

These two give different accounts of what the requirement is for the GIL.

Activity

ZeroIntensity

ZeroIntensity commented on May 14, 2025

@ZeroIntensity
Member
No description provided.
AlexanderWells-diamond

AlexanderWells-diamond commented on May 14, 2025

@AlexanderWells-diamond
Author

Fair enough, if it's already fixed for future versions then I'm happy for this issue to be closed.

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

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Mismatch in description of `PyThreadState_Delete` and `PyThreadState_DeleteCurrent` · Issue #133989 · 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