[issue42917] Block stack size for frame objects should be dynamically sizable

Mark Shannon report at bugs.python.org
Thu Jan 21 06:31:27 EST 2021


Mark Shannon <mark at hotpy.org> added the comment:

I see no advantage of getting rid of the limit of 20.

No one ever gets near 20 deep in practice.
Given the limit has been there for so long, it is likely that some tooling that expects the depth of try-statements to be limited.

Why would a code generator need to nest try statements so deeply? I'm curious.

----------

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


More information about the Python-bugs-list mailing list