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

Conversation

@vstinner

@vstinner vstinner commented

Nov 21, 2024

edited by bedevere-app bot

Loading

…#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)

gpshead

@vstinner

Tests / Check if the ABI has changed (pull_request) Failing after 1m

Oh, I suppose that it's the addition of the "id" string which is automatically generated from Argument Clinic :-(

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

2 participants

@vstinner @gpshead