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 ned.deily, ronaldoussoren
Date 2013-03-27.09:55:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364378141.47.0.183536890409.issue17557@psf.upfronthosting.co.za>
In-reply-to
Content
Due to a change in behavior for OS X 10.8 (seen with 10.8.3), the code added to posixmodule.c in Issue7900 to handle an unlimited number of groups no longer works.  The code depends on the documented behavior of getgroups(2) failing with EINVAL when the grouplist array in the call is too small to hold all groups.  This works correctly for 10.6 and 10.7.  Currently in 10.8, such a call succeeds and truncates to the first grouplist-size groups.  The getgroups function could probably be modified to always call getgroups(0) first to get the real length.  But it seems to be a clear regression in 10.8 and breaks existing code.  I've opened a bug report with Apple about it.  I'll plan to keep this incident open until I hear something back from them.
History
Date User Action Args
2013-03-27 09:55:41ned.deilysetrecipients: + ned.deily, ronaldoussoren
2013-03-27 09:55:41ned.deilysetmessageid: <1364378141.47.0.183536890409.issue17557@psf.upfronthosting.co.za>
2013-03-27 09:55:41ned.deilylinkissue17557 messages
2013-03-27 09:55:41ned.deilycreate