Message317557
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. |
|
Date |
User |
Action |
Args |
2018-05-24 11:30:55 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, christian.heimes, wg |
2018-05-24 11:30:55 | serhiy.storchaka | set | messageid: <1527161455.64.0.682650639539.issue33625@psf.upfronthosting.co.za> |
2018-05-24 11:30:55 | serhiy.storchaka | link | issue33625 messages |
2018-05-24 11:30:55 | serhiy.storchaka | create | |
|