Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-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 [email protected]
Co-authored-by: Kumar Aditya [email protected]


📚 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 <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
@kumaraditya303 kumaraditya303 merged commit 55eaaab into python:3.14 Jul 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 <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free to 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