[issue18075] Infinite recursion tests triggering a segfault
STINNER Victor
report at bugs.python.org
Thu May 30 14:50:20 CEST 2013
STINNER Victor added the comment:
> The patch changes the maximum stack size from 8 to 16 MByte, neither of which is huge and shouldn't cause other problems.
On Mac OS X: Is the memory allocated at Python startup, or on demand,
as the stack grows? If I am correct, the physical memory is allocated
on demand on Linux.
2013/5/30 Ronald Oussoren <report at bugs.python.org>:
>
> Ronald Oussoren added the comment:
>
> I'd prefer to keep the default recursion limit the same as on Linux, changing the recursion limit on OSX would just introduce an unnecessary difference between the two platforms.
>
> The patch changes the maximum stack size from 8 to 16 MByte, neither of which is huge and shouldn't cause other problems.
>
> I'd also like to increase the default stack size for newly created threads (see #18049) and will update that patch to create a 16 MByte stack as well.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue18075>
> _______________________________________
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18075>
_______________________________________
More information about the Python-bugs-list
mailing list