Skip to content

[3.14] gh-116738: Make grp module thread-safe (GH-135434) - #136658

Merged
kumaraditya303 merged 1 commit into
python:3.14from
miss-islington:backport-9363703-3.14
Jul 15, 2025
Merged

[3.14] gh-116738: Make grp module thread-safe (GH-135434)#136658
kumaraditya303 merged 1 commit into
python:3.14from
miss-islington:backport-9363703-3.14

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Jul 14, 2025

Copy link
Copy Markdown
Contributor

Make grp module methods getgrgid() and getgrnam() thread-safe when the GIL is disabled and getgrgid_r()/getgrnam_r() C APIs are not available.

(cherry picked from commit 9363703)

Co-authored-by: Alper alperyoney@fb.com
Co-authored-by: Kumar Aditya kumaraditya@python.org


📚 Documentation preview 📚: https://cpython-previews--136658.org.readthedocs.build/

Make grp module methods getgrgid() and getgrnam() thread-safe when the GIL is disabled and getgrgid_r()/getgrnam_r() C APIs are not available.
---------
(cherry picked from commit 9363703)
Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@kumaraditya303
kumaraditya303 merged commit 55eaaab into python:3.14Jul 15, 2025
50 checks passed
kumaraditya303 added a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…python#136658)
pythongh-116738: Make grp module thread-safe (pythonGH-135434)
Make grp module methods getgrgid() and getgrnam() thread-safe when the GIL is disabled and getgrgid_r()/getgrnam_r() C APIs are not available.
---------
(cherry picked from commit 9363703)
Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@miss-islington
miss-islington deleted the backport-9363703-3.14 branch January 2, 2026 18:02
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@kumaraditya303@yoney