gh-126316: Make grp.getgrall() thread-safe: add a mutex by vstinner · Pull Request #127055 · python/cpython

@vstinner

grpmodule.c is no longer built with the limited C API, since PyMutex
is excluded from the limited C API.

@bedevere-app bot mentioned this pull request

Nov 20, 2024

ZeroIntensity

colesbury

@vstinner

@vstinner

ZeroIntensity

@vstinner

ZeroIntensity

vstinner added a commit to vstinner/cpython that referenced this pull request

Nov 21, 2024
…#127055)

grpmodule.c is no longer built with the limited C API, since PyMutex
is excluded from the limited C API.

(cherry picked from commit 3c2bd66)

vstinner added a commit that referenced this pull request

Nov 26, 2024
…) (#127104)

* gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055)

grpmodule.c is no longer built with the limited C API, since PyMutex
is excluded from the limited C API.

(cherry picked from commit 3c2bd66)

* Revert ABI changes

Don't use Argument Clinic for grp.getgrgid() to avoid changing the
ABI (change PyInterpreterState structure by adding an "id"
identifier).

ebonnal pushed a commit to ebonnal/cpython that referenced this pull request

Jan 12, 2025
…#127055)

grpmodule.c is no longer built with the limited C API, since PyMutex
is excluded from the limited C API.

@yoney yoney mentioned this pull request

Jul 15, 2025