Message92868
A simple fix is to use key=lambda x: (id(type(x)), x). However, that
obviously doesn't work with values of different, but orderable types.
At the moment, I don't see how the Python 2 sort could be implemented
without a cmp() argument to sorted(). |
|
Date |
User |
Action |
Args |
2009-09-19 13:11:50 | georg.brandl | set | recipients:
+ georg.brandl, aronacher |
2009-09-19 13:11:50 | georg.brandl | set | messageid: <1253365910.93.0.26140811493.issue6945@psf.upfronthosting.co.za> |
2009-09-19 13:11:49 | georg.brandl | link | issue6945 messages |
2009-09-19 13:11:49 | georg.brandl | create | |
|