[issue31113] Stack overflow with large program
Serhiy Storchaka
report at bugs.python.org
Tue Aug 8 12:47:44 EDT 2017
Serhiy Storchaka added the comment:
Updated patch makes stackdepth() not consuming the C stack for recursion. The new code is not strictly equivalent to the old code, but I think they should produce the same results in common cases (the existing stack depth calculation algorithm is not free from bugs, see issue24340).
Since this change is not trivial, I think it should be made it only in master. In maintained versions it is safer to change build options on Windows to produce the executable with larger stack.
----------
stage: -> patch review
versions: +Python 3.7 -Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31113>
_______________________________________
More information about the Python-bugs-list
mailing list