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 Dennis Sweeney
Recipients BTaskaya, Dennis Sweeney, Mark.Shannon, pablogsal, yselivanov
Date 2021-06-04.21:54:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622843698.21.0.877748782229.issue42349@roundup.psfhosted.org>
In-reply-to
Content
From https://devguide.python.org/compiler/#source-code-to-ast:

> Basic blocks themselves are a block of IR that has a single entry point but possibly multiple exit points.

In particular, compile.c's label_exception_targets has the assertion (`assert(i == b->b_iused -1);`) that jumps only occur as the last instruction of a block.

Does the devguide need updating, or do I have a misunderstanding?
History
Date User Action Args
2021-06-04 21:54:58Dennis Sweeneysetrecipients: + Dennis Sweeney, Mark.Shannon, yselivanov, pablogsal, BTaskaya
2021-06-04 21:54:58Dennis Sweeneysetmessageid: <1622843698.21.0.877748782229.issue42349@roundup.psfhosted.org>
2021-06-04 21:54:58Dennis Sweeneylinkissue42349 messages
2021-06-04 21:54:58Dennis Sweeneycreate