summaryrefslogtreecommitdiffstats
path: root/Lib/heapq.py
Commit message (Expand)AuthorAgeFilesLines
* Update: usage doc for heappushpop (GH-91451)Aditya Aggarwal2022-04-181-0/+2
* Revert "Fix all Python Cookbook links (#22205)" (GH-22424)Andre Delfino2020-09-271-1/+1
* Fix all Python Cookbook links (#22205)Andre Delfino2020-09-151-1/+1
* bpo-29984: Improve 'heapq' test coverage (GH-992)Rob Day2019-06-011-2/+2
* bpo-34149: Behavior of the min/max with key=None (GH-8328)Alexander Marshalov2018-07-241-8/+2
* Improve clarity (and small speed-up) by using tuple unpacking (#3289)Raymond Hettinger2017-09-041-8/+8
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
* Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
|\
* | Update comment to reflect using the default parameter with min() and max().Raymond Hettinger2014-06-151-2/+2
* | Factor common code into internal functions.Raymond Hettinger2014-06-141-10/+18
* | Fix typoRaymond Hettinger2014-06-141-1/+1
* | Fix commentRaymond Hettinger2014-06-021-1/+1
* | Minor clean-ups.Raymond Hettinger2014-06-021-3/+5
* | Issue #13742: Add key and reverse parameters to heapq.merge()Raymond Hettinger2014-05-301-11/+63
* | Minor clean-ups for heapq.merge().Raymond Hettinger2014-05-271-14/+13
* | Minor clean-ups for heapq.Raymond Hettinger2014-05-261-11/+11
* | Small code and comment cleanupsRaymond Hettinger2014-05-191-14/+4
* | Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.Raymond Hettinger2014-05-111-41/+115
* | Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.Raymond Hettinger2014-05-111-88/+37
* | Update comment for the comparison table to use measured results rather than p...Raymond Hettinger2014-04-101-9/+10
* | Add algorithmic notes for nsmallest() and nlargest().Raymond Hettinger2014-04-101-0/+56
* | Broaden the early-out test for nsmallest and nlargestRaymond Hettinger2014-03-261-2/+2
|/
* Issue #18962: Optimize the single iterator case for heapq.merge()Raymond Hettinger2013-09-111-5/+9
* Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
* Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
* Fix typoRaymond Hettinger2013-03-051-1/+1
* Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.Raymond Hettinger2013-03-051-25/+59
* Issue 13274: Make the pure python code for heapq more closely match the C im...Raymond Hettinger2011-10-301-0/+4
* Merge 3.1Éric Araujo2011-04-201-3/+3
|\
| * Minor tweaks to a few comments in heapqÉric Araujo2011-04-151-3/+3
* | Issue 3051: make pure python code pass the same tests as the C version.Raymond Hettinger2011-04-131-5/+4
* | Remove coding cookie from heapq.py.Mark Dickinson2010-07-041-3/+1
|/
* Make life easier for non-CPython implementationsRaymond Hettinger2009-03-291-1/+1
* In Py3.x, a list comprehension is now faster than list(map(itemgetter(0), ite...Raymond Hettinger2009-02-211-5/+4
* Port r69838: Speedup and simplify negative counter using count's new step ar...Raymond Hettinger2009-02-211-3/+3
* Merged revisions 69129-69131,69139-69140,69143,69154-69159,69169,69288-69289,...Benjamin Peterson2009-02-061-1/+1
* Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson2009-01-271-1/+1
* Merged revisions 68750,68776-68777,68811,68842,68859 via svnmerge fromBenjamin Peterson2009-01-231-1/+1
* Merged revisions 68546 via svnmerge fromBenjamin Peterson2009-01-181-1/+46
* Manually merge r68096,68189 from 3.0 branch.Georg Brandl2009-01-031-4/+10
* Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,...Georg Brandl2008-06-101-6/+7
* Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,...Christian Heimes2008-03-161-8/+11
* Move itertools izip() code to builtins as zip(). Complete the renaming.Raymond Hettinger2008-03-131-3/+3
* Replace map(None, *iterables) with zip(*iterables).Raymond Hettinger2008-01-221-2/+4
* Merged revisions 56125-56153 via svnmerge fromGuido van Rossum2007-07-031-6/+6
* Merged revisions 55007-55179 via svnmerge fromGuido van Rossum2007-05-071-1/+1
* Merged revisions 53952-54987 via svnmerge fromGuido van Rossum2007-04-271-1/+1
* PEP 3114: rename .next() to .__next__() and add next() builtin.Georg Brandl2007-04-211-1/+1
* Merged revisions 53623-53858 via svnmerge fromThomas Wouters2007-02-231-2/+40
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1