Neil Schemenauer <nas-pyt...@arctrix.com> added the comment: The WIP pull request PR# 2827 seems to help. The following code prints 86 on python3.6 and 25 with PR 2827 applied.
def g(): try: pass except ImportError as e: pass try: pass except ImportError as e: pass try: pass except ImportError as e: pass try: pass except ImportError as e: pass try: pass except ImportError as e: pass try: pass except ImportError as e: pass print(g.__code__.co_stacksize) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue24340> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com