mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
55eaaab8a4
gh-116738: Make grp module thread-safe (GH-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 9363703bd3)
Co-authored-by: Alper <alperyoney@fb.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Source files for standard library extension modules, and former extension modules that are now builtin modules.