SIGN IN SIGN UP

[3.13] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) (#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 3c2bd66e21bd8de69a89ebf09ff9d8e78ddfb839)

* Revert ABI changes

Don't use Argument Clinic for grp.getgrgid() to avoid changing the
ABI (change PyInterpreterState structure by adding an "id"
identifier).
V
Victor Stinner committed
9187ac3f2d22a7505da8cc9e159c75068b8b9a50
Parent: 0f77357
Committed by GitHub <noreply@github.com> on 11/26/2024, 11:01:50 AM