STINNER Victor <vstin...@python.org> added the comment:

Ned: so Linux was also impacted, but Linux only has an issue with more than 
65536 groups :-D macOS MAX_GROUPS is now only 16 (Python uses MAX_GROUPS+1)! 
Maybe MAX_GROUPS was reduced recently. I'm not sure.

Anyway, os.getgrouplist() does no longer depend on MAX_GROUPS hardcoded limit, 
but grow the group list dynamically. It should now work with any number of 
groups an all platforms (which provide the getgrouplist() function ;-)) on 
Python 3.7, 3.8 and master branches.

Thanks Dong-hee Na for the bug report and your PR.

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40014>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to