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

PABLO LOBATO DE LA CRUZ report at bugs.python.org
Thu Oct 28 17:59:19 EDT 2021


PABLO LOBATO DE LA CRUZ <pablolob at ucm.es> added the comment:

I see thanks for answering so quickly. But why does it happen only on
Windows?

El jue, 28 oct 2021 a las 23:09, Steve Dower (<report at bugs.python.org>)
escribió:

>
> 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>
> _______________________________________
>

----------

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


More information about the Python-bugs-list mailing list