Skip to content

[3.13] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) - #127104

Merged
vstinner merged 2 commits into
python:3.13from
vstinner:getgrall_mutex13
Nov 26, 2024
Merged

vstinner merged 2 commits into
python:3.13from
vstinner:getgrall_mutex13

Conversation

@vstinner

@vstinner vstinner commented Nov 21, 2024 •

Copy link
Copy Markdown
Member

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)

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

Copy link
Copy Markdown
Member Author

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).
@vstinner
vstinner merged commit 9187ac3 into python:3.13 Nov 26, 2024
@vstinner
vstinner deleted the getgrall_mutex13 branch November 26, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants