Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
d9e221d232b0ff39babb76e3dea395c5d6e2587b
/
Modules
/
_heapqmodule.c
6fbfb48
Optimize previous checkin for heapq.
by Raymond Hettinger
· 16 years ago
f0bc3cb
Issue 3051: Let heapq work with either __lt__ or __le__.
by Raymond Hettinger
· 16 years ago
dd96db6
This reverts r63675 based on the discussion in this thread:
by Gregory P. Smith
· 16 years ago
ec2fe78
Issue 3501: Make heapq support both __le__ and __lt__.
by Raymond Hettinger
· 16 years ago
6d7702e
Implement heapq in terms of less-than (to match list.sort()).
by Raymond Hettinger
· 16 years ago
593daf5
Renamed PyString to PyBytes
by Christian Heimes
· 16 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
· 19 years ago
855d9a9
Plug a leak and beef-up test coverage.
by Raymond Hettinger
· 20 years ago
8158e84
Fix erroneous docstring comment.
by Raymond Hettinger
· 20 years ago
28224f8
Improve the documented advice on how to best use heapq.heapreplace().
by Raymond Hettinger
· 20 years ago
aefde43
Reverse argument order for nsmallest() and nlargest().
by Raymond Hettinger
· 20 years ago
de72edd
Fixup error exits in nlargest() and nsmallest().
by Raymond Hettinger
· 20 years ago
2e3dfaf
Install C version of heapq.nsmallest().
by Raymond Hettinger
· 20 years ago
c929766
Install C version of heapq.nlargest().
by Raymond Hettinger
· 20 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