Ralf Schmitt added the comment:
when I set the the stack size to 128kb on a 64bit linux with ulimit -s
128, the tests still pass (default stack size is 8192 kb).
However the following fails at recursion level 180 with a segfault:
def f(count):
print count
f(count+1)
f(0)
If I set the stack size to 96k, the interpreter cannot even start that
script. So this change should be pretty safe to not overwrite stack
boundaries.
Anything else I can do to get this in?
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1881>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com