Message 416501 - Python tracker

Message416501

Author vstinner
Recipients Mark.Shannon, gvanrossum, vstinner
Date 2022-04-01.17:47:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648835232.99.0.101277985852.issue47185@roundup.psfhosted.org>
In-reply-to
Content
> How would you compute the exception table from the bytecode? There are no clues in the bytecode about where the try and except blocks are.

Disassemble the bytecode to rebuild basic blocks and detect which ones are except blocks. I don't know how the exception table works :-) It's just a guess.

Or do you think that this job should be done by the caller?
History
Date User Action Args
2022-04-01 17:47:13vstinnersetrecipients: + vstinner, gvanrossum, Mark.Shannon
2022-04-01 17:47:12vstinnersetmessageid: <1648835232.99.0.101277985852.issue47185@roundup.psfhosted.org>
2022-04-01 17:47:12vstinnerlinkissue47185 messages
2022-04-01 17:47:12vstinnercreate