Author wg
Recipients wg
Date 2018-05-23.20:03:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527105781.7.0.682650639539.issue33625@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-05-23 20:03:01wgsetrecipients: + wg
2018-05-23 20:03:01wgsetmessageid: <1527105781.7.0.682650639539.issue33625@psf.upfronthosting.co.za>
2018-05-23 20:03:01wglinkissue33625 messages
2018-05-23 20:03:01wgcreate