0 == False but [] != False?

Donn Cave donn at u.washington.edu
Tue May 29 14:16:51 EDT 2007


In article <WPqdnYlb6LfHcMjbnZ2dnUVZ_urinZ2d at speakeasy.net>,
 Erik Max Francis <max at alcyone.com> wrote:

> Donn Cave wrote:
> 
> > Anyone who finds this surprising, might enjoy reading this
> > article from the time several years ago when the feature
> > was being considered.  When you have some time - it's long,
> > but interesting.  The present confusion is more directly
> > addressed towards the end.  Yes, it's the Laura Creighton
> > article again:
> > 
> > http://groups.google.com/group/comp.lang.python/msg/2de5e1c8384c0360
> 
> If so, be sure to click "More options," then "View thread," and then 
> read the responses.  There were many reasonable objections to her points.

Not that it is of no historical interest to review all these
reasonable arguments, but allow me to restore the context quote
from my follow-up:

In article <1179983482.452458.188690 at q66g2000hsg.googlegroups.com>,
 Paul McGuire <ptmcg at austin.rr.com> wrote:

> This has *got* to rank up there among the VFAQ's of them all, along
> with the mysterious shared default empty list argument.  I think this
> particular question has been asked in one form or another at least
> twice a week for the past month!

   Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list