This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients christian.heimes, serhiy.storchaka, wg
Date 2018-05-24.11:30:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527161455.64.0.682650639539.issue33625@psf.upfronthosting.co.za>
In-reply-to
Content
Functions getpwnam() and getpwuid() are not reentrant. This is not a problem if their use is guarded with GIL and extensions don't call them directly. But if release GIL, we should use reentrant getpwnam_r() and getpwuid_r() instead. There may be an open issue for this, but I can't find it now.

If getpwnam_r() and getpwuid_r() are not available (are there such modern platforms?) we should use getpwnam() and getpwuid() without releasing GIL.
History
Date User Action Args
2018-05-24 11:30:55serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, wg
2018-05-24 11:30:55serhiy.storchakasetmessageid: <1527161455.64.0.682650639539.issue33625@psf.upfronthosting.co.za>
2018-05-24 11:30:55serhiy.storchakalinkissue33625 messages
2018-05-24 11:30:55serhiy.storchakacreate