FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

Repository navigation

[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 commented Nov 21, 2024 •
edited by bedevere-app Bot
Loading

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)

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 merged commit 9187ac3 into python:3.13 Nov 26, 2024
vstinner deleted the getgrall_mutex13 branch November 26, 2024 11:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL