Article 6ST5X [$] Finally continuing the discussion over continue in finally

[$] Finally continuing the discussion over continue in finally

by
daroc
from LWN.net on (#6ST5X)

In 2019, the Python community had alengthy discussion about changing the rules (that some find counterintuitive) onusing break, continue, or return statements infinally blocks. These are all ways of jumping out of a finallyblock, which can interrupt the handling of a raised exception.At the time, the Python developers chose not to changethings, because the consensus was that the existing behavior was not a problem. Now, afterareport put together by Irit Katriel, the project is once again consideringchanging the language.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments