Message99693
On Sun, Feb 21, 2010 at 1:58 PM, Martin v. Löwis <report@bugs.python.org> wrote:
..
> I would propose a different strategy: if _SC_NGROUPS_MAX is defined, use
> that to find out how much memory to allocate, otherwise, fall back to
> the current max array size. Can you find out whether doing so would also
> fix the issue at hand?
I am afraid that the following is the evidence that it won't:
Python 2.7a3+ (trunk:78265M, Feb 20 2010, 15:20:36)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.sysconf('SC_NGROUPS_MAX')
16
>>> len(os.getgroups()) # with the patch
22 |
|
Date |
User |
Action |
Args |
2010-02-21 22:29:14 | Alexander.Belopolsky | set | recipients:
+ Alexander.Belopolsky, loewis, ronaldoussoren, orsenthil, michael.foord, l0nwlf |
2010-02-21 22:29:12 | Alexander.Belopolsky | link | issue7900 messages |
2010-02-21 22:29:11 | Alexander.Belopolsky | create | |
|