Navigation
Search
|
[$] Finally continuing the discussion over continue in finally
Monday December 9, 2024. 04:33 PM , from LWN.net
In 2019, the Python community had a
lengthy discussion about changing the rules (that some find counterintuitive) on using break, continue, or return statements in finally blocks. These are all ways of jumping out of a finally block, which can interrupt the handling of a raised exception. At the time, the Python developers chose not to change things, because the consensus was that the existing behavior was not a problem. Now, after a report put together by Irit Katriel, the project is once again considering changing the language.
https://lwn.net/Articles/1000635/
Related News |
25 sources
Current Date
Dec, Thu 12 - 07:24 CET
|