Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -1823/+1823 |
| | |||||
* | Issue 8436: set.__init__ accepts keyword args | Raymond Hettinger | 2010-04-18 | 1 | -0/+2 |
| | |||||
* | Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set. | Victor Stinner | 2010-03-13 | 1 | -1/+15 |
| | |||||
* | The set types can also be called without arguments. | Georg Brandl | 2010-02-28 | 1 | -2/+4 |
| | |||||
* | #8030: make builtin type docstrings more consistent: use "iterable" instead ↵ | Georg Brandl | 2010-02-28 | 1 | -2/+2 |
| | | | | of "seq(uence)", use "new" to show that set() always returns a new object. | ||||
* | Issue 7263: Fix set.intersection() docstring. | Raymond Hettinger | 2009-11-18 | 1 | -2/+2 |
| | |||||
* | Issue 6573: Fix set.union() for cases where self is in the argument chain. | Raymond Hettinger | 2009-07-27 | 1 | -1/+1 |
| | |||||
* | Issue #3680: Reference cycles created through a dict, set or deque iterator ↵ | Antoine Pitrou | 2009-01-01 | 1 | -4/+12 |
| | | | | did not get collected. | ||||
* | #4069: aSet.remove(otherSet) would always report the empty frozenset([]) as ↵ | Amaury Forgeot d'Arc | 2008-10-07 | 1 | -4/+7 |
| | | | | | | | | the missing key. Now it correctly refers to the initial otherset. Reviewed by Raymond. Will backport to 2.6. | ||||
* | Mention exception in docstring | Andrew M. Kuchling | 2008-10-03 | 1 | -1/+2 |
| | |||||
* | Issue 2235: __hash__ is once again inherited by default, but inheritance can ↵ | Nick Coghlan | 2008-07-15 | 1 | -1/+1 |
| | | | | be blocked explicitly so that collections.Hashable remains meaningful | ||||
* | Added additional __sizeof__ implementations and addressed comments made in | Robert Schuppenies | 2008-07-10 | 1 | -0/+16 |
| | | | | Issue3122. | ||||
* | Multi-arg form for set.difference() and set.difference_update(). | Raymond Hettinger | 2008-06-11 | 1 | -14/+39 |
| | |||||
* | Handle the case with zero arguments. | Raymond Hettinger | 2008-06-11 | 1 | -0/+3 |
| | |||||
* | Let set.intersection() and set.intersection_update() take multiple input ↵ | Raymond Hettinger | 2008-06-09 | 1 | -3/+36 |
| | | | | arguments. | ||||
* | Let set.union() and set.update() accept multiple inputs. | Raymond Hettinger | 2008-06-09 | 1 | -15/+38 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -15/+15 |
| | | | | | | | 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 2855: Fix obscure crasher by slowing down the entire module. Mimics ↵ | Raymond Hettinger | 2008-05-30 | 1 | -0/+4 |
| | | | | what was done to dictionaries in r59223. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -15/+15 |
| | |||||
* | Frozensets do not benefit from autoconversion. | Raymond Hettinger | 2008-05-08 | 1 | -3/+3 |
| | |||||
* | dict.copy() rises from the ashes. Revert r60687. | Raymond Hettinger | 2008-02-12 | 1 | -15/+1 |
| | |||||
* | Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ↵ | Raymond Hettinger | 2008-02-09 | 1 | -1/+15 |
| | | | | away in Py3.x | ||||
* | Unified naming convention for free lists and their limits. All free lists | Christian Heimes | 2008-02-06 | 1 | -10/+12 |
| | | | | | | | | in Object/ are named ``free_list``, the counter ``numfree`` and the upper limit is a macro ``PyName_MAXFREELIST`` inside an #ifndef block. The chances should make it easier to adjust Python for platforms with less memory, e.g. mobile phones. | ||||
* | Ensure that PySet_Add() operates on a newly created frozenset, like ↵ | Amaury Forgeot d'Arc | 2008-02-03 | 1 | -1/+6 |
| | | | | | | | | PyTuple_SetItem does. Add PyFrozenSet_Check(), which was not needed before; The list of Py*Set_Check* macros seems to be complete now. Add missing NEWS entries about all this. | ||||
* | Factor-out common code with a new macro | Raymond Hettinger | 2008-01-28 | 1 | -4/+4 |
| | |||||
* | Make PySet_Add() work with frozensets. | Raymond Hettinger | 2008-01-28 | 1 | -15/+4 |
| | | | | | Works like PyTuple_SetItem() to build-up values in a brand new frozenset. Also, PyFrozenSet_New() is now guaranteed to produce a distinct new frozenset. | ||||
* | Revert PySet_Add() changes. | Raymond Hettinger | 2008-01-26 | 1 | -0/+5 |
| | |||||
* | Update test code for change to PySet_Add(). | Raymond Hettinger | 2008-01-26 | 1 | -1/+0 |
| | |||||
* | Make PySet_Add() work with frozensets. Works like PyTuple_SetItem() to ↵ | Raymond Hettinger | 2008-01-26 | 1 | -4/+0 |
| | | | | build-up values in a brand new frozenset. | ||||
* | Changes 54857 and 54840 broke code and were reverted in Py2.5 just before | Raymond Hettinger | 2008-01-25 | 1 | -7/+7 |
| | | | | it was released, but that reversion never made it to the Py2.6 head. | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -16/+16 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | Backport of _abccoll.py by Benjamin Arangueren, issue 1383. | Guido van Rossum | 2007-11-22 | 1 | -8/+1 |
| | | | | With some changes of my own thrown in (e.g. backport of r58107). | ||||
* | Reposition the decref (spotted by eagle-eye norwitz). | Raymond Hettinger | 2007-11-08 | 1 | -1/+2 |
| | |||||
* | Add set.isdisjoint() | Raymond Hettinger | 2007-11-08 | 1 | -0/+70 |
| | |||||
* | Add a bunch of GIL release/acquire points in tp_print implementations and for | Brett Cannon | 2007-09-17 | 1 | -0/+8 |
| | | | | | | PyObject_Print(). Closes issue #1164. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -23/+20 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Fix a bug in test_c_api() that caused a negative refcount. | Guido van Rossum | 2007-05-10 | 1 | -3/+3 |
| | |||||
* | Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() ↵ | Raymond Hettinger | 2007-03-20 | 1 | -2/+18 |
| | | | | calls and fixing set/dict interoperability. | ||||
* | Fixup set/dict interoperability. | Raymond Hettinger | 2007-02-19 | 1 | -0/+11 |
| | |||||
* | Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash(). | Raymond Hettinger | 2007-02-19 | 1 | -7/+11 |
| | |||||
* | Bypass set specific optimizations for set and frozenset subclasses. | Raymond Hettinger | 2007-02-08 | 1 | -7/+7 |
| | |||||
* | Bug #1648179: set.update() not recognizing __iter__ overrides in dict ↵ | Raymond Hettinger | 2007-02-01 | 1 | -4/+4 |
| | | | | subclasses. | ||||
* | SF #1486663 -- Allow keyword args in subclasses of set() and frozenset(). | Raymond Hettinger | 2007-01-11 | 1 | -2/+2 |
| | |||||
* | For sets with cyclical reprs, emit an ellipsis instead of infinitely recursing. | Raymond Hettinger | 2006-12-30 | 1 | -4/+24 |
| | |||||
* | Port Georg's dictobject.c fix keys that were tuples got unpacked on the way ↵ | Raymond Hettinger | 2006-12-08 | 1 | -1/+15 |
| | | | | | | to setting a KeyError (svn revision 52535, sf bug 1576657). | ||||
* | Port Armin's fix for a dict resize vulnerability (svn revision 46589, sf bug ↵ | Raymond Hettinger | 2006-12-08 | 1 | -6/+31 |
| | | | | 1456209). | ||||
* | Eliminate two redundant calls to PyObject_Hash(). | Raymond Hettinger | 2006-12-08 | 1 | -4/+23 |
| | |||||
* | Fix warnings with HP's C compiler. It doesn't recognize that infinite | Neal Norwitz | 2006-10-28 | 1 | -0/+2 |
| | | | | | | loops are, um, infinite. These conditions should not be able to happen. Will backport. | ||||
* | Fix refcounts and add error checks. | Raymond Hettinger | 2006-09-07 | 1 | -8/+35 |
| | |||||
* | [Bug #1414697] Change docstring of set/frozenset types to specify that the ↵ | Andrew M. Kuchling | 2006-07-29 | 1 | -2/+2 |
| | | | | contents are unique. Raymond, please feel free to edit or revert. |