New submission from Mark Shannon <m...@hotpy.org>:
Python has two unconditional jumps, JUMP_ABSOLUTE and JUMP_FORWARD. The bytecode compiler should ensure that all forward jumps use JUMP_FORWARD and all backwards jumps use JUMP_ABSOLUTE. That way, the interpreter will know that JUMP_ABSOLUTE jumps are backwards and won't need to check. ---------- assignee: Mark.Shannon components: Interpreter Core messages: 403291 nosy: Mark.Shannon priority: normal severity: normal status: open title: Use JUMP_FORWARD for all forward jumps. versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45388> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com