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
Date 2020-07-17.10:27:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594981622.83.0.602836344044.issue41323@roundup.psfhosted.org>
In-reply-to
Content
Currently we perform various bytecode improvements as a pass on the code objects after generating the code object.

This requires parsing the bytecode to find instructions, recreating the CFG, and rewriting the line number table.

If we perform the optimizations directly on the CFG we can avoid all that additional work.

This would save hundreds of lines of code and avoid coupling the optimization to the line number table format.
History
Date User Action Args
2020-07-17 10:27:02Mark.Shannonsetrecipients: + Mark.Shannon
2020-07-17 10:27:02Mark.Shannonsetmessageid: <1594981622.83.0.602836344044.issue41323@roundup.psfhosted.org>
2020-07-17 10:27:02Mark.Shannonlinkissue41323 messages
2020-07-17 10:27:02Mark.Shannoncreate