Author iritkatriel
Recipients Mark.Shannon, gvanrossum, iritkatriel
Date 2021-11-04.11:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1636025387.26.0.346517237471.issue45711@roundup.psfhosted.org>
In-reply-to
Content
Exceptions are represented in the interpreter as (type, val, tb) triplets which most of the time contain redundant information (the type is the type of val and the tb is also on the exception). This complicates the code and is inefficient as opcodes that manage exceptions push and pop 3 items for each exception. 

We will change the internal representation to be (1) just the exception value if it is normalised and (2) a tuple of the 3 values for the uncommon case where they are all needed.

See also https://github.com/faster-cpython/ideas/issues/106.
History
Date User Action Args
2021-11-04 11:29:47iritkatrielsetrecipients: + iritkatriel, gvanrossum, Mark.Shannon
2021-11-04 11:29:47iritkatrielsetmessageid: <1636025387.26.0.346517237471.issue45711@roundup.psfhosted.org>
2021-11-04 11:29:47iritkatriellinkissue45711 messages
2021-11-04 11:29:47iritkatrielcreate