[M.-A. Lemburg]
> ...
> So far, I haven't heard a single argument for why not having None
> participate in an ordering scheme is a good strategy to use, except
> that it's pure.

I've tracked down plenty of program logic errors that would have been
discovered more easily if comparing None to (mostly, but among others)
integers and strings had raised an exception instead of returning a
meaningless true/false result.  Perhaps you haven't.  For those who
have, the attraction to making comparisons with None refuse to return
nonsense silently is both obvious and visceral.


> IMHO, practicality beats purity in this special case.

If hiding program logic errors is practical, sure ;-)

there-is-no-behavior-no-matter-how-bizarre-someone-won't
come-to-rely-on-ly y'rs  - tim
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to