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 ned.deily
Recipients barry, ned.deily, ronaldoussoren
Date 2018-10-25.20:52:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540500767.13.0.788709270274.issue35070@psf.upfronthosting.co.za>
In-reply-to
Content
I've also tried building on a vanilla-ish 10.8 VM, both without and with installing the /usr/include headers, and I still don't see the failure you're seeing.  If you look at Modules/posixmodule.c, you'll see there's a fair amount of Apple-specifc or -caused hackery to deal with past and current getgroups() anomalies.  Perhaps you could step through it on your system and see if it's obvious what's happening.

Also, looking back through previous issues with getgroups, in Issue29562 Ronald noted:

"Note that the result of getgroups(2) is fixed on login, while "id -G" reflects the current state of the user database on macOS. Could this explain this failure? That is, have you tried logging out and in again before running the test suite?"
History
Date User Action Args
2018-10-25 20:52:47ned.deilysetrecipients: + ned.deily, barry, ronaldoussoren
2018-10-25 20:52:47ned.deilysetmessageid: <1540500767.13.0.788709270274.issue35070@psf.upfronthosting.co.za>
2018-10-25 20:52:47ned.deilylinkissue35070 messages
2018-10-25 20:52:47ned.deilycreate