Message100058
On Wed, Feb 24, 2010 at 12:45 PM, Martin v. Löwis
<report@bugs.python.org> wrote:
..
> I still think that the sysconf version should be the correct one. If OSX fails to work correctly under
> that version, and causes Python to raise an exception - then that's a platform bug, and should only > accept minimal work arounds.
>
It is more than an exception. In python 2.6+, os.getgroups() returns
wrong results. It always reads system database instead of returning
the values that are set with os.setgroups().
> So I propose to close this as "won't fix". Or, the original issue could be resolved by accepting
> EINVAL on OSX as a correct result of getgroups in the test suite.
>
Supporting more than 16 groups is less important (and impossible
without a platform fix) than to have working get/setgroups for
reasonable number of groups. This is how python behaved before
r63955.
At the very least unit tests that I submitted could be accepted
possibly with a skip on OSX if fixing the bug is not an option. |
|
Date |
User |
Action |
Args |
2010-02-24 18:02:52 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, r.david.murray, l0nwlf |
2010-02-24 18:02:50 | Alexander.Belopolsky | link | issue7900 messages |
2010-02-24 18:02:50 | Alexander.Belopolsky | create | |
|