Martin v. Löwis <mar...@v.loewis.de> added the comment: > I would suggest using my _DARWIN_C_SOURCE implementation > unconditionally and make similar changes to posix_setgroups, but this > is probably a subject for a separate issue.
I would propose a different strategy: if _SC_NGROUPS_MAX is defined, use that to find out how much memory to allocate, otherwise, fall back to the current max array size. Can you find out whether doing so would also fix the issue at hand? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com