[issue7900] posix.getgroups() failure on Mac OS X

Ronald Oussoren report at bugs.python.org
Tue Feb 23 18:16:15 CET 2010

Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

I'm -1 w.r.t changing the definition of _DARWIN_C_SOURCE, at least not without a thorough investigation on what else this changes. Removing _DARWIN_C_SOURCE without setting some other defines may well cause in removal of functions from header files (I'm  pretty sure that setting _POSIX_C_SOURCE without setting other defines removes anything that isn't posix from view).

How did you detect that the modern getgroups implementation doesn't query the kernel? That would be very odd.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list