Skip to content

Rename Py_NOGIL to a positive term #111863

Closed
@hugovk

Description

@hugovk

From the PEP 703 acceptance:

We want to avoid negatives in terms and flags and such, so we won’t get into double-negative terrain (like we do when we talk about ‘non no-GIL’). We’d like a positive, clear term to talk about the no-GIL build, and we’re suggesting ‘free-threaded’. (Relatedly, that’s why the build mode/ABI letter is ‘t’ and not ‘n’; that change was already made.)

Py_NOGIL is a user-facing macro, let's rename it to something positive.

Maybe Py_DISABLE_GIL or Py_FREE_THREADED?

cc @colesbury

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions