[issue42917] Block stack size for frame objects should be dynamically sizable
Thomas Anderson
report at bugs.python.org
Sun Mar 14 20:56:32 EDT 2021
Thomas Anderson <tomkpz at gmail.com> added the comment:
IIRC, some transpilers for functional languages create deeply nested code. In particular for things like haskell's do notation.
Anyway, when I wrote the PR, it was initially to reduce the frame size. Then once I had dynamic block stack sizing working, I realized there was no longer a need to keep the limit of 20 blocks. It was just compile.c that had the artificial limit, so I removed it. I can add the limit back in the PR, but I'm not sure what benefit that would give.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42917>
_______________________________________
More information about the Python-bugs-list
mailing list