[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2014-02-11 Thread Miki Tebeka
Miki Tebeka added the comment: I still see this in 3.4rc1 == FAIL: test_getgroups (test.test_posix.PosixTester) -- Traceback (most recent call last): File

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2014-02-11 Thread Ned Deily
Ned Deily added the comment: Miki, what is the output of the following on the failing system? id -G sw_vers -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17557 ___

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-08-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6d3b7e0559a0 by Ned Deily in branch '2.7': Issue #17557: Fix os.getgroups() to work with the modified behavior of http://hg.python.org/cpython/rev/6d3b7e0559a0 New changeset 0a4afa8833b5 by Ned Deily in branch '3.3': Issue #17557: Fix

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-08-01 Thread Ned Deily
Ned Deily added the comment: Committed patch (with slight modifications) for release in 2.7.6, 3.3.3, and 3.4.0. Thanks again, Mateusz. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: -Python 3.2

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-07-07 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch, Mateusz. That basic approach should work on all current releases (although it would be nice if Apple also fixed the problem). I'll test it on the various releases. If you haven't already, please submit a contributor form as described in the

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-07-07 Thread Mateusz Lenik
Mateusz Lenik added the comment: I signed it today. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17557 ___ ___ Python-bugs-list mailing list

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: Have you heard anything from Apple? If you have a radar number I could try to ping someone at Apple. I'd be in favor of working around this issue in posixmodule.c if they don't respond or if they won't fix the issue in 10.8 (and I wouldn't be surprised if

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-07-06 Thread Mateusz Lenik
Mateusz Lenik added the comment: I attached a patch implementing a workaround for getgroups(2) call. When compiled for OS X it first calls getgroups with 0 as the first argument to get number of groups and then in subsequent call the code fetches the gids. This patch applies cleanly on 2.7

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-03-27 Thread Ned Deily
New submission from Ned Deily: Due to a change in behavior for OS X 10.8 (seen with 10.8.3), the code added to posixmodule.c in Issue7900 to handle an unlimited number of groups no longer works. The code depends on the documented behavior of getgroups(2) failing with EINVAL when the

[issue17557] test_getgroups of test_posix can fail on OS X 10.8 if more than 16 groups

2013-03-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17557 ___ ___ Python-bugs-list mailing list