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 <rep...@bugs.python.org>
<http://bugs.python.org/issue31113>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to