This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, miss-islington, ned.deily, ronaldoussoren, shihai1991, steve.dower, vstinner
Date 2020-03-24.17:51:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585072287.27.0.0940799583711.issue40014@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-03-24 17:51:27vstinnersetrecipients: + vstinner, ronaldoussoren, ned.deily, steve.dower, corona10, miss-islington, shihai1991
2020-03-24 17:51:27vstinnersetmessageid: <1585072287.27.0.0940799583711.issue40014@roundup.psfhosted.org>
2020-03-24 17:51:27vstinnerlinkissue40014 messages
2020-03-24 17:51:27vstinnercreate