mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055)
grpmodule.c is no longer built with the limited C API, since PyMutex is excluded from the limited C API.
This commit is contained in:
parent
60ec854bc2
commit
3c2bd66e21
8 changed files with 107 additions and 22 deletions
|
@ -471,6 +471,7 @@ struct _Py_global_strings {
|
|||
STRUCT_FOR_ID(hi)
|
||||
STRUCT_FOR_ID(hook)
|
||||
STRUCT_FOR_ID(hour)
|
||||
STRUCT_FOR_ID(id)
|
||||
STRUCT_FOR_ID(ident)
|
||||
STRUCT_FOR_ID(identity_hint)
|
||||
STRUCT_FOR_ID(ignore)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue