summaryrefslogtreecommitdiff
path: root/Lib/test/test_sort.py
AgeCommit message (Expand)AuthorLines
2011-07-26Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger)Éric Araujo-15/+8
2011-05-04#11335: Fix memory leak after key function failure in sortDaniel Stutzbach-0/+6
2009-01-27Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson-6/+15
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-4/+4
2008-01-30Issue #1771: Remove cmp parameter from list.sort() and builtin.sorted().Raymond Hettinger-32/+18
2007-05-15Merged revisions 55328-55341 via svnmerge fromGuido van Rossum-1/+1
2007-05-07Merged revisions 55007-55179 via svnmerge fromGuido van Rossum-14/+14
2007-02-09Fix most trivially-findable print statements.Guido van Rossum-16/+16
2006-08-24Restructure comparison dramatically. There is no longer a defaultGuido van Rossum-2/+4
2005-11-24move test into a unittest.TestCase, no functional changesNeal Norwitz-72/+72
2004-07-29* drop the unreasonable list invariant that ob_item should never come backArmin Rigo-0/+17
2004-01-18Whitespace normalization.Tim Peters-2/+0
2003-12-17Guido grants a Christmas wish:Raymond Hettinger-55/+0
2003-12-04Remove extra copy of test_key_with_exception that somehow appearedMichael W. Hudson-7/+0
2003-12-04Fixes and tests for various "holding pointers when arbitrary Python codeMichael W. Hudson-0/+45
2003-11-28Make sure the list.sort's decorate step unwinds itself before returningRaymond Hettinger-0/+7
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-2/+1
2003-10-29Add list.sorted() classmethod.Raymond Hettinger-0/+58
2003-10-16* list.sort() now supports three keyword arguments: cmp, key, and reverse.Raymond Hettinger-43/+99
2003-01-02Allow list sort's comparison function to explicitly be None. See SF patchSkip Montanaro-0/+20
2002-11-12SF patch 637176: list.sort crasherTim Peters-0/+29
2002-08-03Remove cut 'n paste silliness.Tim Peters-2/+0
2002-08-01New test for sorting sanity. Note that this will fail in earlier Pythons,Tim Peters-0/+124