Re: There should be one-- and preferably only one --obvious way to do it

2010-03-03 Thread Ben Finney
Lie Ryan writes: > There are lots of reason why bare-except is bad, one being is that it > makes it way too easy to ignore errors that you don't actually want to > silence; and given that bare-excepts would prevent Ctrl+C (Interrupt) > from working. Sorry, but IMHO we shouldn't make syntax sugar

Re: There should be one-- and preferably only one --obvious way to do it (was "Interest check in some delicious syntactic sugar for "except:pass"")

2010-03-03 Thread Lie Ryan
o inflect it as a verb, not a noun -- you are telling the > block to be silent). Finally, since this is the purest form of > syntactic sugar, I cannot fathom any parsing, interpreting or other > complications that would arise. Given that python HATE bare-except (and `pass`-block bare excep