[Python-ideas] try-else without except or finally
Guido van Rossum
guido at python.org
Thu Nov 10 16:53:25 CET 2011
On Thu, Nov 10, 2011 at 5:35 AM, Rob Cliffe <rob.cliffe at btinternet.com> wrote:
> "except: raise" makes it explicit that an exception is to be propogated.
> Far from being pointless it makes the code much more readable. "Explicit
> is better than implicit."
+1. Nobody's going to understand try...else... on first reading.
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list