summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-24 18:22:10 +0100
committerGitHub <noreply@github.com>2020-03-24 18:22:10 +0100
commitf5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7 (patch)
tree3fcf2f5173005198c8a959fc03195220e74ab53f /Python/import.c
parent4b3252cb764807fdb3a661b458d43e4af55cf4df (diff)
downloadcpython-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