why (1, 2, 3) > [1, 2, 3] is true?

fat bold cyclop fat.bold.cyclop at gmail.com
Thu Feb 25 15:03:03 CET 2010

> Both are not equal, so the comparison returns an arbitrary result in Py2.
Thanks, Stefan. If I understand you correctly the comparison is not
But I wonder if there is any logic behind this (in 2.x).
Is it possible to predict result of this comparison?

Thanks again,

More information about the Python-list mailing list