Mark Shannon <m...@hotpy.org> added the comment:
Thanks Ned, that's really helpful. I'll go through those points: Code after break/continue is no longer compiled. Expected First line number of modules Expected Except clause when no exception https://bugs.python.org/issue42634 Double loops (this also covers End-of-loop jumps, I think) https://bugs.python.org/issue42635 I want to merge https://github.com/python/cpython/pull/23743 before I fix any of the others, but here is a summary of what I think are the root causes. if-break Exit block duplication does not preserve line number of jump to final block Finally handling Combination of two things. Not preserving line numbers when performing jump-to-jump elimination and not marking try cleanup code as artificial. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42246> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com