On 01/26/2014 10:42 PM, me wrote:

My point of contention isn't so much about what specific syntax I should
be using as much as it is about being allowed to use a syntax that gives
erroneous results without triggering a syntax violation.  If the bare
except: clause is syntactically legal then it should yield deterministic
results based on a well defined language specification, right?  It's
looking very much like "except:" is undefined behaviour.

There is nothing undefined about it. `except:` catches everything. Occasionally there is a good reason to do it that way, but under typical circumstances you tell 'except' which exceptions you are prepared to deal with.

--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to