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

Alexander Belopolsky report at bugs.python.org
Tue Feb 23 14:28:40 CET 2010


Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:

Ronald,

Have you tested your patch with issue7900-tests.diff?  

On my system:

$ ./python.exe Lib/test/test_posix.py
testNoArgFunctions (__main__.PosixTester) ... Segmentation fault

and

$ sudo ./python.exe Lib/test/test_posix.py
..
FAIL: test_setgroups (__main__.PosixGroupsTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_posix.py", line 403, in test_setgroups
    self.assertListEqual(groups, posix.getgroups())
AssertionError: Lists differ: [0] != [3419130827, 3419130827, 34191...

First differing element 0:
0
3419130827

Second list contains 17 additional elements.
First extra element 1:
3419130827

- [0]
+ [3419130827,
+  3419130827,
+  3419130827,
+  3419130827,
+  4227582923,
+  4227595259,
+  64507,
+  16777216,
+  3688580934,
+  3688618971,
+  4867048,
+  1,
+  3688618971,
+  3688618971,
+  3688618971,
+  3688618971,
+  3688618971,
+  3688618971]
..

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7900>
_______________________________________


More information about the Python-bugs-list mailing list