Message405681
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. |
|
Date |
User |
Action |
Args |
2021-11-04 11:29:47 | iritkatriel | set | recipients:
+ iritkatriel, gvanrossum, Mark.Shannon |
2021-11-04 11:29:47 | iritkatriel | set | messageid: <1636025387.26.0.346517237471.issue45711@roundup.psfhosted.org> |
2021-11-04 11:29:47 | iritkatriel | link | issue45711 messages |
2021-11-04 11:29:47 | iritkatriel | create | |
|