comparing strings and ints
Michael Hudson
mwh21 at cam.ac.uk
Wed Apr 12 20:32:24 EDT 2000
grant at nowhere. (Grant Edwards) writes:
> No, it said "_consistently_ but arbitrarily" [emph added].
> That means that you don't which result you will get when a
> string and an int are compared, but you know you will always
> get the _same_ result.
That's one reading; however I'd have thought a more likely one would
be to specify that if x>y is true once for some x and y of differing
types, then x>y is true each subsequent time it is evaluated.
can-I-have-a-language-lawyer-brownie-point?-ly y'rs
M.
--
please realize that the Common Lisp community is more than 40
years old. collectively, the community has already been where
every clueless newbie will be going for the next three years.
so relax, please. -- Erik Naggum, comp.lang.lisp
More information about the Python-list
mailing list