Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Jul 14, 2025

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>
@kumaraditya303kumaraditya303 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-islingtonmiss-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