Mark Shannon <m...@hotpy.org> added the comment:
A couple of things to fix here. Firstly, the PREDICTion of POP_BLOCK in FOR_ITER shouldn't be there. POP_BLOCK doesn't normally occur after a loop and hasn't since we removed "pseudo exceptions" from the interpreter a couple of years ago. Secondly, there is the issue of PREDICTs skipping tracing. Either we can make sure that no PREDICTs cross a line boundary, which seems error prone, or we add the check for tracing into the PREDICT macro, which seems more robust. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41670> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com