How does compare work?

Gerrit Holl gerrit at nl.linux.org
Tue Jan 27 08:16:51 EST 2004


Inyeol Lee wrote:
> (This unusual definition of comparison was used to simplify the
> definition of operations like sorting and the in and not in operators.
> In the future, the comparison rules for objects of
> different types are likely to change.) 
> """

When comparing mixed types becomes illegal, does that mean sorting a
sequence of mixed types becomes illegal as well? Or will sort be a
special case?

yours,
Gerrit.

-- 
136. If any one leave his house, run away, and then his wife go to
another house, if then he return, and wishes to take his wife back:
because he fled from his home and ran away, the wife of this runaway shall
not return to her husband.
          -- 1780 BC, Hammurabi, Code of Law
-- 
PrePEP: Builtin path type
    http://people.nl.linux.org/~gerrit/creaties/path/pep-xxxx.html
Asperger's Syndrome - a personal approach:
	http://people.nl.linux.org/~gerrit/english/




More information about the Python-list mailing list