diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-24 18:22:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 18:22:10 +0100 |
commit | f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7 (patch) | |
tree | 3fcf2f5173005198c8a959fc03195220e74ab53f /Python/import.c | |
parent | 4b3252cb764807fdb3a661b458d43e4af55cf4df (diff) | |
download | cpython-git-f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7.tar.gz |
bpo-40014: Fix os.getgrouplist() (GH-19126)
Fix os.getgrouplist(): if getgrouplist() function fails because the
group list is too small, retry with a larger group list.
On failure, the glibc implementation of getgrouplist() sets ngroups
to the total number of groups. For other implementations, double the
group list size.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions