This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients aronacher, georg.brandl
Date 2009-09-19.13:11:49
SpamBayes Score 6.953877e-05
Marked as misclassified No
Message-id <1253365910.93.0.26140811493.issue6945@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2009-09-19 13:11:50georg.brandlsetrecipients: + georg.brandl, aronacher
2009-09-19 13:11:50georg.brandlsetmessageid: <1253365910.93.0.26140811493.issue6945@psf.upfronthosting.co.za>
2009-09-19 13:11:49georg.brandllinkissue6945 messages
2009-09-19 13:11:49georg.brandlcreate