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

Carl Banks pavlovevidence at gmail.com
Wed Jul 30 02:48:07 EDT 2008


On Jul 30, 2:06 am, Erik Max Francis <m... at alcyone.com> wrote:
> Perhaps in the particular use case you're thinking of (numeric types vs.
> container types), there aren't any good examples.  But who cares?

You don't have to.  I am trying to set the record straight on just how
much polymophism "if x" supports relative to explicit tests, which is
to say, not much.

BTW, I haven't changed my criteria since I asked for the challenge.


Carl Banks



More information about the Python-list mailing list