Navigation
Recherche
|
[$] Finally continuing the discussion over continue in finally
lundi 9 décembre 2024, 16:33 , par 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/
Voir aussi |
56 sources (32 en français)
Date Actuelle
jeu. 12 déc. - 08:37 CET
|