[Python-3000] None in Comparisons
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Wed Nov 12 22:13:50 CET 2008
2008/11/11 Greg Ewing <greg.ewing at canterbury.ac.nz>:
> It would be possible to implement this convention in the
> sort method, without making it a feature of comparisons
> in general.
Until someone wishes to sort a list of some objects by key, where the
keys can be (1, None) compared with (1, 3). This will be confusing
because None compared with 3 would work.
--
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/
More information about the Python-3000
mailing list