This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mark.Shannon
Recipients Mark.Shannon, ammar2, nedbat, pablogsal
Date 2020-08-31.10:01:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598868077.8.0.873308707308.issue41670@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-08-31 10:01:17Mark.Shannonsetrecipients: + Mark.Shannon, nedbat, ammar2, pablogsal
2020-08-31 10:01:17Mark.Shannonsetmessageid: <1598868077.8.0.873308707308.issue41670@roundup.psfhosted.org>
2020-08-31 10:01:17Mark.Shannonlinkissue41670 messages
2020-08-31 10:01:17Mark.Shannoncreate