Mateusz Lenik added the comment: I attached a patch implementing a workaround for getgroups(2) call. When compiled for OS X it first calls getgroups with 0 as the first argument to get number of groups and then in subsequent call the code fetches the gids.
This patch applies cleanly on 2.7 and 3.x branches. ---------- keywords: +patch nosy: +mlen Added file: http://bugs.python.org/file30816/getgroups_osx.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17557> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com