On Mon, Feb 17, 2014 at 12:43:25PM +0100, M.-A. Lemburg wrote: > This doesn't only apply to numeric comparisons. In Python 2 you > can compare None with any kind of object and it always sorts first,
No you can't. See http://bugs.python.org/issue1673405 . According to Tim Peters, the "None is less than everything" rule never existed. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com