Thomas Anderson <tom...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to