summaryrefslogtreecommitdiff
path: root/Modules/_heapqmodule.c
AgeCommit message (Expand)AuthorLines
2008-06-11Optimize previous checkin for heapq.Raymond Hettinger-1/+7
2008-06-11Issue 3051: Let heapq work with either __lt__ or __le__.Raymond Hettinger-7/+6
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-1/+1
2008-06-06Issue 3501: Make heapq support both __le__ and __lt__.Raymond Hettinger-11/+28
2008-05-31Implement heapq in terms of less-than (to match list.sort()).Raymond Hettinger-14/+26
2008-05-26Renamed PyString to PyBytesChristian Heimes-1/+1
2008-03-14Leave heapreplace() unchanged.Raymond Hettinger-5/+0
2008-03-13Issue 2274: Add heapq.heappushpop().Raymond Hettinger-0/+49
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