Raymond Hettinger added the comment:
Complex numbers also aren't sortable.
I'm not sure this is worth fixing in 2.7.
I agree. That ship sailed a long time ago.
--
nosy: +rhettinger
resolution: - wont fix
status: open - closed
___
Python tracker
Andreas Kostyrka added the comment:
This also applies to sets.
--
title: pprint not handline uncomparable dictionary keys well - pprint not
handline uncomparable dictionary keys, set members well
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Actually, it applies to datetime, which is is almost unique among python2
datatypes in not being comparable to other types by default. I'm not sure this
is worth fixing in 2.7.
--
nosy: +r.david.murray
___
Python