"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You shouldn't expect comparisons between types to
> sort the same from one version of Python to another, although they may,
> and in the future (Python 3) it is likely to become an error to compare
> incomparable objects.

Indeed, that was the basis of my original question.
I wondered why no exception was raised.

Thanks,
Alan Isaac

PS Note that the change you mention will conflict with
currently documented behavior:
"objects of different types always compare unequal".
So this seems like a large change.


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to