Incomparable abominations
Greg Ewing (using news.cis.dfn.de)
me at privacy.net
Sun Mar 23 23:51:45 EST 2003
Dan Bishop wrote:
> Because it makes intuitive sense that x != y when x and y have
> completely different types. The same cannot be said about "3" < 1.
Well, it *could* be argued that, using the same kind of
reasoning, "3" < 1 and "3" > 1 should both be False.
Not that I'm arguing that myself!
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list