Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
e6ebcdaa54d2527b1ae94fd95f5ee96dfdc9abe4
/
Modules
/
_heapqmodule.c
6807958
Merged revisions 84472 via svnmerge from
by Éric Araujo
· 15 years ago
c83ea13
Untabify C files. Will watch buildbots.
by Antoine Pitrou
· 15 years ago
6fbfb48
Optimize previous checkin for heapq.
by Raymond Hettinger
· 17 years ago
f0bc3cb
Issue 3051: Let heapq work with either __lt__ or __le__.
by Raymond Hettinger
· 17 years ago
dd96db6
This reverts r63675 based on the discussion in this thread:
by Gregory P. Smith
· 17 years ago
ec2fe78
Issue 3501: Make heapq support both __le__ and __lt__.
by Raymond Hettinger
· 17 years ago
6d7702e
Implement heapq in terms of less-than (to match list.sort()).
by Raymond Hettinger
· 17 years ago
593daf5
Renamed PyString to PyBytes
by Christian Heimes
· 17 years ago
10d7603
Leave heapreplace() unchanged.
by Raymond Hettinger
· 17 years ago
53bdf09
Issue 2274: Add heapq.heappushpop().
by Raymond Hettinger
· 17 years ago
13870b1
Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over
by Thomas Wouters
· 19 years ago
ed6254a
Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_t
by Thomas Wouters
· 19 years ago
ad0a462
Use Py_ssize_t for counts and sizes.
by Martin v. Löwis
· 19 years ago
1ac754f
Check return result from Py_InitModule*(). This API can fail.
by Neal Norwitz
· 20 years ago
855d9a9
Plug a leak and beef-up test coverage.
by Raymond Hettinger
· 21 years ago
8158e84
Fix erroneous docstring comment.
by Raymond Hettinger
· 21 years ago
28224f8
Improve the documented advice on how to best use heapq.heapreplace().
by Raymond Hettinger
· 21 years ago
aefde43
Reverse argument order for nsmallest() and nlargest().
by Raymond Hettinger
· 21 years ago
de72edd
Fixup error exits in nlargest() and nsmallest().
by Raymond Hettinger
· 21 years ago
2e3dfaf
Install C version of heapq.nsmallest().
by Raymond Hettinger
· 21 years ago
c929766
Install C version of heapq.nlargest().
by Raymond Hettinger
· 21 years ago
ce97fbe
Correct the file name of _heapq module.
by Hye-Shik Chang
· 21 years ago
[Renamed from Modules/_heapmodule.c]
c46cb2a
* Restore the pure python version of heapq.py.
by Raymond Hettinger
· 21 years ago