Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -446/+446 |
| | |||||
* | Optimize previous checkin for heapq. | Raymond Hettinger | 2008-06-11 | 1 | -1/+7 |
| | |||||
* | Issue 3051: Let heapq work with either __lt__ or __le__. | Raymond Hettinger | 2008-06-11 | 1 | -7/+6 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -1/+1 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Issue 3501: Make heapq support both __le__ and __lt__. | Raymond Hettinger | 2008-06-06 | 1 | -11/+28 |
| | |||||
* | Implement heapq in terms of less-than (to match list.sort()). | Raymond Hettinger | 2008-05-31 | 1 | -14/+26 |
| | |||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -1/+1 |
| | |||||
* | Leave heapreplace() unchanged. | Raymond Hettinger | 2008-03-14 | 1 | -5/+0 |
| | |||||
* | Issue 2274: Add heapq.heappushpop(). | Raymond Hettinger | 2008-03-13 | 1 | -0/+49 |
| | |||||
* | Also make _heapq.nlargest() use Py_ssize_t instead of ints, to iter over | Thomas Wouters | 2006-02-16 | 1 | -2/+2 |
| | | | | | lists and call Py_ssize_t-using helpers. All other code in this module was already adapted to Py_ssize_t. | ||||
* | Use 'n' format for Py_ssize_t variables to PyArg_ParseTuple(). Py_ssize_t | Thomas Wouters | 2006-02-16 | 1 | -1/+1 |
| | | | | | | | has been applied fairly arbitrarily in this module (nsmallest uses Py_ssize_t, nlargest does not) and it probably deserves a more complete review. Fixes heapq.nsmallest() always returning the empty list (on platforms with 64-bit ssize_t/long) | ||||
* | Use Py_ssize_t for counts and sizes. | Martin v. Löwis | 2006-02-16 | 1 | -11/+13 |
| | |||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Plug a leak and beef-up test coverage. | Raymond Hettinger | 2004-09-28 | 1 | -4/+12 |
| | |||||
* | Fix erroneous docstring comment. | Raymond Hettinger | 2004-09-06 | 1 | -2/+3 |
| | |||||
* | Improve the documented advice on how to best use heapq.heapreplace(). | Raymond Hettinger | 2004-06-20 | 1 | -1/+2 |
| | |||||
* | Reverse argument order for nsmallest() and nlargest(). | Raymond Hettinger | 2004-06-15 | 1 | -2/+2 |
| | | | | Reads better when the iterable is a generator expression. | ||||
* | Fixup error exits in nlargest() and nsmallest(). | Raymond Hettinger | 2004-06-13 | 1 | -8/+16 |
| | |||||
* | Install C version of heapq.nsmallest(). | Raymond Hettinger | 2004-06-13 | 1 | -5/+162 |
| | |||||
* | Install C version of heapq.nlargest(). | Raymond Hettinger | 2004-06-12 | 1 | -0/+76 |
| | | | | Maxheap version of heapq.smallest() is forthcoming. | ||||
* | Correct the file name of _heapq module. | Hye-Shik Chang | 2004-04-25 | 1 | -0/+364 |