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 Alexander.Belopolsky
Recipients Alexander.Belopolsky, l0nwlf, loewis, michael.foord, orsenthil, ronaldoussoren
Date 2010-02-20.19:13:55
SpamBayes Score 1.8457458e-13
Marked as misclassified No
Message-id <1266693237.23.0.212867199564.issue7900@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to reproduce the error.  First, add your user name to multiple test groups as follows:

$ sudo dscl . -create /Groups/testN GroupMembership username
(repeat 16 times with different Ns)

$ ./python.exe 
Python 2.7a3+ (trunk:78265M, Feb 20 2010, 13:18:22) 
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import posix
>>> posix.getgroups()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument
History
Date User Action Args
2010-02-20 19:13:57Alexander.Belopolskysetrecipients: + Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, michael.foord, l0nwlf
2010-02-20 19:13:57Alexander.Belopolskysetmessageid: <1266693237.23.0.212867199564.issue7900@psf.upfronthosting.co.za>
2010-02-20 19:13:55Alexander.Belopolskylinkissue7900 messages
2010-02-20 19:13:55Alexander.Belopolskycreate