Jim DeLaHunt added the comment:

> Note that the result of getgroups(2) is fixed on login, while "id -G" 
> reflects the current state of the user database on macOS.

Wow, that's interesting!  Thank you for this information.

The test code for test_getgroups does not mention this interaction.  I can 
certainly see how it could affect the test. Maybe it should be added?

Since I last tried that test, I've logged out and restarted several times, and 
changed OS to Mac OS X 10.11 El Capitan. Nothing like changing several 
independent variables at once while diagnosing! I will try the test again and 
report back.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29562>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to