Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
5533ff6a2ea1560cf6700c07096f34c5b9bf5874
/
Lib
/
test
/
test_heapq.py
5533ff6
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
by Nick Coghlan
· 15 years ago
cd2e704
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
by Nick Coghlan
· 15 years ago
04097a6
Fix typo in method name. The LT class implemented less than. The LE class
by Neal Norwitz
· 16 years ago
e29a103
Add test for heapq using both __lt__ and __le__.
by Raymond Hettinger
· 16 years ago
53bdf09
Issue 2274: Add heapq.heappushpop().
by Raymond Hettinger
· 16 years ago
0bb8567
In test_heapq and test_bisect, test both the Python and the C implementation.
by Georg Brandl
· 16 years ago
01b9881
Add test for merge stability
by Raymond Hettinger
· 17 years ago
00166c5
Add merge() function to heapq.
by Raymond Hettinger
· 17 years ago
769a40a
Fix stability of heapq's nlargest() and nsmallest().
by Raymond Hettinger
· 18 years ago
4901a1f
Add key= argument to heapq.nsmallest() and heapq.nlargest().
by Raymond Hettinger
· 20 years ago
e1defa4
Fix argument order in pure python version of nsmallest() and nlargest().
by Raymond Hettinger
· 20 years ago
855d9a9
Plug a leak and beef-up test coverage.
by Raymond Hettinger
· 20 years ago
27f8836
Whitespace normalization.
by Tim Peters
· 20 years ago
d7be118
Exercise some error conditions
by Neal Norwitz
· 20 years ago
aefde43
Reverse argument order for nsmallest() and nlargest().
by Raymond Hettinger
· 20 years ago
2e3dfaf
Install C version of heapq.nsmallest().
by Raymond Hettinger
· 20 years ago
b25aa36
Improve the memory performance and speed of heapq.nsmallest() by using
by Raymond Hettinger
· 20 years ago
bce036b
Convert test_heapq.py to unittests.
by Raymond Hettinger
· 20 years ago
33ecffb
SF patch #969791: Add nlargest() and nsmallest() to heapq.
by Raymond Hettinger
· 20 years ago
065c06a
Add another test which exercises the whole suite with a
by Raymond Hettinger
· 22 years ago
0cd53a6
Added new heapreplace(heap, item) function, to pop (and return) the
by Tim Peters
· 22 years ago
aa7d243
Minor fiddling, including a simple class to implement a heap iterator
by Tim Peters
· 22 years ago
28c2552
Hmm! I thought I checked this in before! Oh well.
by Tim Peters
· 22 years ago
d2cf1ab
check_invariant(): Use the same child->parent "formula" used by heapq.py.
by Tim Peters
· 22 years ago
d9ea39d
Don't use true division where int division was intended. For that matter,
by Tim Peters
· 22 years ago
0b19178
Adding the heap queue algorithm, per discussion in python-dev last week.
by Guido van Rossum
· 22 years ago