Grant Edwards <[EMAIL PROTECTED]> writes: > On 2008-04-25, D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote: > > On Fri, 25 Apr 2008 20:27:15 +0200 > > Gregor Horvath <[EMAIL PROTECTED]> wrote: > >> >>> None <= 0 > >> True > > Everything in Python can compare to everything else. > > Not true.
Even more untrue in Python 3.0: Comparisons other than == and != between disparate types will raise an exception unless explicitly supported by the type <URL:http://www.python.org/dev/peps/pep-3100/#core-language> <URL:http://mail.python.org/pipermail/python-dev/2004-June/045111.html> -- \ "We demand rigidly defined areas of doubt and uncertainty!" -- | `\ Vroomfondel, _The Hitch-Hiker's Guide To The Galaxy_, Douglas | _o__) Adams | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list