[New-bugs-announce] [issue46458] Optimise try-except code generation for the happy path

Irit Katriel report at bugs.python.org
Fri Jan 21 10:26:03 EST 2022


New submission from Irit Katriel <iritkatriel at gmail.com>:

The compiler emits code for try-except-else-finally in the order in which it appears in the source, but it could probably produce faster code if it optimizes for the no-exception path.

----------
assignee: iritkatriel
components: Interpreter Core
messages: 411137
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Optimise try-except code generation for the happy path
type: performance
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46458>
_______________________________________


More information about the New-bugs-announce mailing list