[issue46221] Simplify except* implementation and move helpers to exceptions.c

2022-01-02 Thread Irit Katriel
Irit Katriel added the comment: Fixed in https://github.com/python/cpython/pull/30289. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue46221] Simplify except* implementation and move helpers to exceptions.c

2022-01-01 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +28540 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30289 ___ Python tracker ___ ___

[issue46221] Simplify except* implementation and move helpers to exceptions.c

2022-01-01 Thread Irit Katriel
New submission from Irit Katriel : Following issue45711, the implementation of except* can be simplified - we do not need to use POP_EXCEPT_AND_RERAISE to reraise the exception calculated by PREP_RERAISE_STAR, we can instead 1. Make PREP_RERAISE_STAR not push a dummy lasti to the stack. 2. U