Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

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 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.14 Jul 15, 2025
50 checks passed
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