Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Parse to the correct datatype. | Raymond Hettinger | 2008-07-24 | 1 | -1/+1 |
| | |||||
* | Finish-up the partial conversion from int to Py_ssize_t for deque indices ↵ | Raymond Hettinger | 2008-07-24 | 1 | -23/+24 |
| | | | | and length. | ||||
* | Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵ | Nick Coghlan | 2008-07-15 | 1 | -8/+1 |
| | | | | be blocked explicitly so that collections.Hashable remains meaningful | ||||
* | Make more symbols static. | Martin v. Löwis | 2008-06-13 | 1 | -5/+5 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -9/+9 |
| | | | | | | | 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. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -9/+9 |
| | |||||
* | dict.copy() rises from the ashes. Revert r60687. | Raymond Hettinger | 2008-02-12 | 1 | -12/+2 |
| | |||||
* | Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ↵ | Raymond Hettinger | 2008-02-09 | 1 | -2/+12 |
| | | | | away in Py3.x | ||||
* | issue 2045: Infinite recursion when printing a subclass of defaultdict, | Amaury Forgeot d'Arc | 2008-02-08 | 1 | -1/+11 |
| | | | | | | if default_factory is set to a bound method. Will backport. | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -10/+10 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | Fix bug 1604. deque.__init__() did not clear existing contents like ↵ | Raymond Hettinger | 2007-12-13 | 1 | -0/+1 |
| | | | | list.__init__. Not a backport candidate. | ||||
* | Use a freelist to speed-up block allocation and deallocation in ↵ | Raymond Hettinger | 2007-11-10 | 1 | -7/+27 |
| | | | | collections.deque(). | ||||
* | Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵ | Raymond Hettinger | 2007-10-10 | 1 | -10/+26 |
| | | | | unbounded deques. | ||||
* | Restore BEGIN/END THREADS macros which were squashed in the previous checkin | Raymond Hettinger | 2007-10-05 | 1 | -5/+21 |
| | |||||
* | dict could be NULL, so we need to XDECREF. | Neal Norwitz | 2007-10-05 | 1 | -2/+2 |
| | | | | Fix a compiler warning about passing a PyTypeObject* instead of PyObject*. | ||||
* | Add __asdict__() to NamedTuple and refine the docs. | Raymond Hettinger | 2007-10-05 | 1 | -85/+101 |
| | | | | | | Add maxlen support to deque() and fixup docs. Partially fix __reduce__(). The None as a third arg was no longer supported. Still needs work on __reduce__() to handle recursive inputs. | ||||
* | Add a bunch of GIL release/acquire points in tp_print implementations and for | Brett Cannon | 2007-09-17 | 1 | -1/+18 |
| | | | | | | PyObject_Print(). Closes issue #1164. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -14/+10 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Fix another reincarnation of bug #1576657 in defaultdict. | Georg Brandl | 2007-03-06 | 1 | -2/+6 |
| | |||||
* | Prepare collections module for pure python code entries. | Raymond Hettinger | 2007-02-28 | 1 | -0/+1366 |