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

Re: "Only one obvious way..."

2006-05-08 Thread Raffael Cavallaro
On 2006-05-08 02:51:22 -0400, [EMAIL PROTECTED] said: > The phrase "only one obvious way..." is nearly the most absurd > marketing bullshit I have ever heard; topped only by "it fits your > brain". Why are so many clearly intelligent and apparently > self-respect

Re: "Only one obvious way..."

2006-05-07 Thread JShrager
>If I ever _DO_ find a language that *DOES* mercilessly refactor in pursuit > of the ideal "only one obvious way", I may well jump ship, since my faith in > Python's adherence to this principle which I cherish so intensely has > been so badly broken ... The phrase &