summaryrefslogtreecommitdiffstats
path: root/Modules/_heapqmodule.c
Commit message (Expand)AuthorAgeFilesLines
* bpo-41078: Add pycore_list.h internal header file (GH-21057)Victor Stinner2020-06-221-0/+2
* Let the argument clinic do the type checking for heapq (GH-20284)Raymond Hettinger2020-05-221-45/+20
* bpo-1635741: Port _heapq module to multiphase initialization (GH19057)Dong-hee Na2020-03-181-12/+19
* bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18...Pablo Galindo2020-01-231-9/+26
* bpo-34797: Convert heapq to the argument clinic (GH-9560)Pablo Galindo2018-09-281-67/+124
* Issue #15984: Merge PyUnicode doc from 3.5Martin Panter2016-04-151-1/+1
|\
| * Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
* | Only update the arr variable when PyObject_RichCompareBool() has been called.Raymond Hettinger2015-12-081-2/+2
* | Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than...Raymond Hettinger2015-07-201-3/+3
|/
* Issue #24221: Small optimizations for heapq.Raymond Hettinger2015-05-221-37/+43
* Tighten-up code by eliminating an unnecessary variable.Raymond Hettinger2015-05-161-10/+8
* Minor code clean-up.Raymond Hettinger2015-05-161-1/+1
* More timings suggest that 2500 is closer to the break-even point.Raymond Hettinger2015-05-131-1/+1
* mergeRaymond Hettinger2015-05-121-0/+5
|\
| * Defend against a mutation during comparisonRaymond Hettinger2015-05-121-0/+5
| * Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.Raymond Hettinger2015-05-021-50/+21
* | Minor code cleanups.Raymond Hettinger2015-05-121-5/+5
* | Minor stylistic clean-up.Raymond Hettinger2015-05-111-6/+6
* | Issue #24155: Optimize heapify for better cache utililzation.Raymond Hettinger2015-05-111-0/+72
* | Factor common code into internal functions.Raymond Hettinger2014-06-141-41/+55
* | Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.Raymond Hettinger2014-05-111-73/+19
* | Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.Raymond Hettinger2014-05-111-85/+0
* | Neaten-up a bit add add missing size change check.Raymond Hettinger2014-05-041-6/+11
* | Simplify and speedup the internals of the heapq module.Raymond Hettinger2014-05-041-71/+36
|/
* Issue 21375: Fix possible Py_ssizet overflow in heapq.Raymond Hettinger2014-05-031-8/+8
* Issue #18408: Fix heapq.heappop(), handle PyList_SetSlice() failureVictor Stinner2013-07-171-1/+4
* Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4Terry Jan Reedy2013-03-111-2/+2
|\
| * Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,Terry Jan Reedy2013-03-111-2/+2
* | Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the li...Antoine Pitrou2013-03-041-6/+34
|\ \ | |/
| * Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the li...Antoine Pitrou2013-03-041-6/+34
* | Show the function signature in the docstringRaymond Hettinger2013-01-191-3/+3
|/
* Inline cmp_lt().Raymond Hettinger2010-09-051-15/+11
* Fix invalid bytes for UTF-8Éric Araujo2010-09-031-1/+1
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-445/+445
* Remove 2.6 compatibility code:Amaury Forgeot d'Arc2008-06-171-19/+1
* Merged revisions 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,...Amaury Forgeot d'Arc2008-06-171-6/+11
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-3/+17
* Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,...Georg Brandl2008-06-101-16/+45
* Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,...Christian Heimes2008-03-161-0/+44
* Use UTF-8 for a docstring that contains non-ASCII chars.Neal Norwitz2007-08-231-3/+4
* Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter overThomas Wouters2006-02-161-2/+2
* Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_tThomas Wouters2006-02-161-1/+1
* Use Py_ssize_t for counts and sizes.Martin v. Löwis2006-02-161-11/+13
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
* Plug a leak and beef-up test coverage.Raymond Hettinger2004-09-281-4/+12
* Fix erroneous docstring comment.Raymond Hettinger2004-09-061-2/+3
* Improve the documented advice on how to best use heapq.heapreplace().Raymond Hettinger2004-06-201-1/+2
* Reverse argument order for nsmallest() and nlargest().Raymond Hettinger2004-06-151-2/+2
* Fixup error exits in nlargest() and nsmallest().Raymond Hettinger2004-06-131-8/+16
* Install C version of heapq.nsmallest().Raymond Hettinger2004-06-131-5/+162