21 Commits (78f3ce577fda646812b31e5eddffff7f50ea40cd)

Author SHA1 Message Date
Ezio Melotti 24b07bcba3 #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Raymond Hettinger db6b62e756 Inline cmp_lt(). 16 years ago
Éric Araujo 6807958dd4 Merged revisions 84472 via svnmerge from 16 years ago
Éric Araujo 8f94754d3a Merged revisions 84472 via svnmerge from 16 years ago
Éric Araujo 1670b431b3 Fix invalid bytes for UTF-8 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Amaury Forgeot d'Arc 2ba198d2fb Remove 2.6 compatibility code: 18 years ago
Amaury Forgeot d'Arc fdfe62d887 Merged revisions 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,64342 via svnmerge from 18 years ago
Raymond Hettinger 6fbfb481b8 Optimize previous checkin for heapq. 18 years ago
Raymond Hettinger f0bc3cbdc0 Issue 3051: Let heapq work with either __lt__ or __le__. 18 years ago
Martin v. Löwis 1a21451b1d Implement PEP 3121: new module initialization and finalization API. 18 years ago
Georg Brandl f78e02b798 Merged revisions 63562,63570,63728,63734,63784,63788,63802,63817,63827,63839,63887,63975,63998 via svnmerge from 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Raymond Hettinger ec2fe78d47 Issue 3501: Make heapq support both __le__ and __lt__. 18 years ago
Raymond Hettinger 6d7702ecd1 Implement heapq in terms of less-than (to match list.sort()). 18 years ago
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Christian Heimes dd15f6c315 Merged revisions 61239-61249,61252-61257,61260-61264,61269-61275,61278-61279,61285-61286,61288-61290,61298,61303-61305,61312-61314,61317,61329,61332,61344,61350-61351,61363-61376,61378-61379,61382-61383,61387-61388,61392,61395-61396,61402-61403 via svnmerge from 18 years ago
Raymond Hettinger 10d7603825 Leave heapreplace() unchanged. 19 years ago
Raymond Hettinger 53bdf09343 Issue 2274: Add heapq.heappushpop(). 19 years ago
Neal Norwitz c1786ea1dc Use UTF-8 for a docstring that contains non-ASCII chars. 19 years ago
Thomas Wouters 13870b18f2 Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over 21 years ago
Thomas Wouters ed6254acf2 Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_t 21 years ago
Martin v. Löwis ad0a4629be Use Py_ssize_t for counts and sizes. 21 years ago
Neal Norwitz 1ac754fa10 Check return result from Py_InitModule*(). This API can fail. 21 years ago
Raymond Hettinger 855d9a985b Plug a leak and beef-up test coverage. 22 years ago
Raymond Hettinger 8158e84930 Fix erroneous docstring comment. 22 years ago
Raymond Hettinger 28224f897a Improve the documented advice on how to best use heapq.heapreplace(). 22 years ago
Raymond Hettinger aefde435ef Reverse argument order for nsmallest() and nlargest(). 22 years ago
Raymond Hettinger de72eddf69 Fixup error exits in nlargest() and nsmallest(). 22 years ago
Raymond Hettinger 2e3dfaf707 Install C version of heapq.nsmallest(). 22 years ago
Raymond Hettinger c929766361 Install C version of heapq.nlargest(). 22 years ago
Hye-Shik Chang ce97fbe772 Correct the file name of _heapq module. 22 years ago
Raymond Hettinger c46cb2a1a9 * Restore the pure python version of heapq.py. 22 years ago
Neal Norwitz 9342fb41c3 Make private/local functions static 23 years ago
Raymond Hettinger 6dab05231d Change ValueErrors to TypeErrors and add PyList_Check() assertions. 23 years ago
Raymond Hettinger 236a2443fb Verify heappop argument is a list. 23 years ago
Raymond Hettinger b3af1813eb Convert heapq.py to a C implementation. 23 years ago