]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116738: Make grp module thread-safe (#135434)
authorAlper <alperyoney@fb.com>
Mon, 14 Jul 2025 18:18:41 +0000 (11:18 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Jul 2025 18:18:41 +0000 (11:18 -0700)
commit9363703bd3bf86e363c14a02e3d729caf1e29f44
treee7a6dd96f4b46b949f78a503f254497c62d7de3d
parentd995922198304a6de19ac1bec3e36d1e886d8468
gh-116738: Make grp module thread-safe (#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.
---------

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Doc/library/test.rst
Lib/test/support/threading_helper.py
Lib/test/test_free_threading/test_grp.py [new file with mode: 0644]
Lib/test/test_free_threading/test_heapq.py
Misc/NEWS.d/next/Core_and_Builtins/2025-06-12-00-03-34.gh-issue-116738.iBBAdo.rst [new file with mode: 0644]
Modules/grpmodule.c
Tools/c-analyzer/cpython/ignored.tsv