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>
Python-bugs-list mailing list