summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-03-24 17:40:31 (GMT)
committerGitHub <noreply@github.com>2020-03-24 17:40:31 (GMT)
commitaf6fd1faa68f57c11c862624798f8510b7cac68a (patch)
treec04b78f88b16c828d1987e63a8c0b32b23ca863b /Python/Python-ast.c
parent8cd48b60fde147087dca061e836c1a47156ac612 (diff)
downloadcpython-af6fd1faa68f57c11c862624798f8510b7cac68a.zip
cpython-af6fd1faa68f57c11c862624798f8510b7cac68a.tar.gz
cpython-af6fd1faa68f57c11c862624798f8510b7cac68a.tar.bz2
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. (cherry picked from commit f5c7cabb2be4e42a5975ba8aac8bb458c8d9d6d7) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions