Boolean tests [was Re: Attack a sacred Python Cow]

Erik Max Francis max at
Wed Jul 30 06:22:34 CEST 2008

Carl Banks wrote:

> That's not what I was asking for.  I was asking for a use case for "if
> x" that can't be replaced by a simple explicit test.  Your example
> didn't satisfy that.

It's a completely artificial request.  "if x" _is_ a completely simple 
test.  Simpler, in fact, than the ones you were advocating.

Erik Max Francis && max at &&
  San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
   An ounce of hypocrisy is worth a pound of ambition.
    -- Michael Korda

More information about the Python-list mailing list