Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PR 15320 fixes a regression by changing the compiler. None is now always pushed on the stack before entering a try...finally block. The "return" statement with a non-constant value replaces it, so the stack is balanced. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37830> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com