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 rhettinger
Recipients gvanrossum, rhettinger
Date 2008-01-09.00:42:20
SpamBayes Score 0.17402826
Marked as misclassified No
Message-id <1199839341.36.0.815625309928.issue1771@psf.upfronthosting.co.za>
In-reply-to
Content
Forgot to mention, the easy work-around is to do two consecutive sorts
and take advantage of the guaranteed stability:

  l.sort(key=secondary, reverse=True)
  l.sort(key=primary)
History
Date User Action Args
2008-01-09 00:42:21rhettingersetspambayes_score: 0.174028 -> 0.17402826
recipients: + rhettinger, gvanrossum
2008-01-09 00:42:21rhettingersetspambayes_score: 0.174028 -> 0.174028
messageid: <1199839341.36.0.815625309928.issue1771@psf.upfronthosting.co.za>
2008-01-09 00:42:20rhettingerlinkissue1771 messages
2008-01-09 00:42:20rhettingercreate