[issue45645] Deep recursion terminates script execution with no error (Windows, Python 3.9)

Steve Dower report at bugs.python.org
Thu Oct 28 17:09:34 EDT 2021


Steve Dower <steve.dower at python.org> added the comment:

This is almost certainly because of how Windows handles stack overflow exceptions, and the fact that there's no way for us to detect it reliably.

There's some work going on to reduce the C stack depth when calling heavily nested Python code (see issue45256), but there's nothing else we can really do I'm afraid.

I'm marking *this* issue as wontfix, but hopefully we can make some improvement on this general issue through other issues. Thanks for reporting it!

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45645>
_______________________________________


More information about the Python-bugs-list mailing list