[Python-Dev] Re: PEP 285: Adding a bool type

Fred L. Drake, Jr. fdrake at acm.org
Wed Apr 3 13:29:55 EST 2002


Fredrik Lundh writes:
 > (Python docs tend to use "true" to mean anything which isn't
 > "false", and where operator.truth returns the right thing.  this
 > won't change post-PEP -- if you start interpreting "return true" as
 > "return True", you'll be asking for trouble)

That's right, but see my other note:  Guido would like things like
this to say "return True", which is different.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation





More information about the Python-list mailing list