[New-bugs-announce] [issue33625] Disable GIL on getpwnam and getpwuid
William Grzybowski
report at bugs.python.org
Wed May 23 16:03:01 EDT 2018
New submission from William Grzybowski <william88 at gmail.com>:
Hello,
Currently the GIL is not disabled when calling pwd.getpwnam nor pwd.getpwuid.
It could be the C library call may take some time for completion, especially when using third-party modules on the system (nss-ldap, nss-pgsql, sss, etc).
Disabling GIL before calling them makes sure other threads can run in the meantime.
----------
components: Extension Modules
messages: 317445
nosy: wg
priority: normal
severity: normal
status: open
title: Disable GIL on getpwnam and getpwuid
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33625>
_______________________________________
More information about the New-bugs-announce
mailing list