summaryrefslogtreecommitdiff
path: root/Modules/_heapqmodule.c
AgeCommit message (Expand)AuthorLines
2016-04-15Issue #15984: Merge PyUnicode doc from 3.5Martin Panter-1/+1
2016-04-15Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter-1/+1
2015-12-07Only update the arr variable when PyObject_RichCompareBool() has been called.Raymond Hettinger-2/+2
2015-07-20Divisions-by-two for a positive Py_ssize_t compile more cleanly with >>1 than...Raymond Hettinger-3/+3
2015-05-22Issue #24221: Small optimizations for heapq.Raymond Hettinger-37/+43
2015-05-15Tighten-up code by eliminating an unnecessary variable.Raymond Hettinger-10/+8
2015-05-15Minor code clean-up.Raymond Hettinger-1/+1
2015-05-12More timings suggest that 2500 is closer to the break-even point.Raymond Hettinger-1/+1
2015-05-11mergeRaymond Hettinger-0/+5
2015-05-11Defend against a mutation during comparisonRaymond Hettinger-0/+5
2015-05-11Minor code cleanups.Raymond Hettinger-5/+5
2015-05-11Minor stylistic clean-up.Raymond Hettinger-6/+6
2015-05-11Issue #24155: Optimize heapify for better cache utililzation.Raymond Hettinger-0/+72
2015-05-02Issues #24099, #24100, and #24101: Fix free-after-use bug in heapq.Raymond Hettinger-50/+21
2014-06-14Factor common code into internal functions.Raymond Hettinger-41/+55
2014-05-11Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.Raymond Hettinger-73/+19
2014-05-11Issue #21424: Optimize heaqp.nlargest() to make fewer tuple comparisons.Raymond Hettinger-85/+0
2014-05-03Neaten-up a bit add add missing size change check.Raymond Hettinger-6/+11
2014-05-03Simplify and speedup the internals of the heapq module.Raymond Hettinger-71/+36
2014-05-03Issue 21375: Fix possible Py_ssizet overflow in heapq.Raymond Hettinger-8/+8
2013-07-17Issue #18408: Fix heapq.heappop(), handle PyList_SetSlice() failureVictor Stinner-1/+4
2013-03-11Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4Terry Jan Reedy-2/+2
2013-03-11Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,Terry Jan Reedy-2/+2
2013-03-04Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the li...Antoine Pitrou-6/+34
2013-03-04Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the li...Antoine Pitrou-6/+34
2013-01-18Show the function signature in the docstringRaymond Hettinger-3/+3
2010-09-05Inline cmp_lt().Raymond Hettinger-15/+11
2010-09-03Fix invalid bytes for UTF-8Éric Araujo-1/+1
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-406/+406
2008-06-17Remove 2.6 compatibility code:Amaury Forgeot d'Arc-19/+1
2008-06-17Merged revisions 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,...Amaury Forgeot d'Arc-6/+11
2008-06-11Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis-3/+17
2008-06-10Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,...Georg Brandl-16/+45
2008-03-16Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,...Christian Heimes-0/+44
2007-08-23Use UTF-8 for a docstring that contains non-ASCII chars.Neal Norwitz-3/+4
2006-02-16Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter overThomas Wouters-2/+2
2006-02-16Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_tThomas Wouters-1/+1
2006-02-16Use Py_ssize_t for counts and sizes.Martin v. Löwis-11/+13
2006-01-19Check return result from Py_InitModule*(). This API can fail.Neal Norwitz-0/+2
2004-09-28Plug a leak and beef-up test coverage.Raymond Hettinger-4/+12
2004-09-06Fix erroneous docstring comment.Raymond Hettinger-2/+3
2004-06-20Improve the documented advice on how to best use heapq.heapreplace().Raymond Hettinger-1/+2
2004-06-15Reverse argument order for nsmallest() and nlargest().Raymond Hettinger-2/+2
2004-06-13Fixup error exits in nlargest() and nsmallest().Raymond Hettinger-8/+16
2004-06-13Install C version of heapq.nsmallest().Raymond Hettinger-5/+162
2004-06-12Install C version of heapq.nlargest().Raymond Hettinger-0/+76
2004-04-25Correct the file name of _heapq module.Hye-Shik Chang-0/+364