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

2022-01-29 Thread Irit Katriel
Irit Katriel added the comment: Re next steps, see https://github.com/faster-cpython/ideas/issues/226#issuecomment-1024875216. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2022-01-28 Thread Irit Katriel
Irit Katriel added the comment: New changeset 36f538c8092eeb3d5b8bc9df0ae7cc348f08a865 by Irit Katriel in branch 'main': bpo-46458: Add tests for context of exception in finally block (GH-30986) https://github.com/python/cpython/commit/36f538c8092eeb3d5b8bc9df0ae7cc348f08a865 -- __

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

2022-01-28 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: -29165 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2022-01-28 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +29165 pull_request: https://github.com/python/cpython/pull/30986 ___ Python tracker ___

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

2022-01-27 Thread Irit Katriel
Irit Katriel added the comment: New changeset 3d2ce3471646704ebd5252f4b20f065f139a53b1 by Irit Katriel in branch 'main': bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) https://github.com/python/cpython/commit/3d2ce3471646704ebd5252f4b20f065f139a53b1

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

2022-01-21 Thread Irit Katriel
Irit Katriel added the comment: See also the discussion on https://github.com/faster-cpython/ideas/issues/226. -- ___ Python tracker ___ __

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

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

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

2022-01-21 Thread Irit Katriel
New submission from Irit Katriel : 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: 4