summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
Commit message (Expand)AuthorAgeFilesLines
* Convert iterator __len__() methods to a private API.Raymond Hettinger2005-09-241-9/+18
* Fix nits.Raymond Hettinger2005-08-171-2/+2
* SF patch #1200051: Small optimization for PyDict_Merge()Raymond Hettinger2005-05-141-0/+6
* SF bug #1183742: PyDict_Copy() can return non-NULL value on errorRaymond Hettinger2005-04-151-1/+1
* Code simplification -- eliminate lookup when value is known in advance.Raymond Hettinger2005-02-051-2/+4
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-151-4/+0
* Disabling end-of-loop code not reached warning on SunProNicholas Bastin2004-06-181-0/+4
* Update docstring for dict.update() to match the new realities.Walter Dörwald2004-05-281-1/+2
* * Add unittests for iterators that report their lengthRaymond Hettinger2004-04-121-7/+7
* GCC was complaining that 'value' in dictiter_iternextvalue() wasn'tGuido van Rossum2004-03-201-5/+6
* Factor out a double lookup.Raymond Hettinger2004-03-191-2/+1
* Make the new dictionary iterators transparent with respect to length.Raymond Hettinger2004-03-181-4/+20
* Optimize dictionary iterators.Raymond Hettinger2004-03-181-57/+202
* Dictionary optimizations:Raymond Hettinger2004-03-171-24/+61
* Factor out code common to PyDict_Copy() and PyDict_Merge().Raymond Hettinger2004-03-081-20/+6
* SF #904720: dict.update should take a 2-tuple sequence like dict.__init_Raymond Hettinger2004-03-041-18/+24
* Oops. Return -1 to distinguish error from empty dict.Jeremy Hylton2004-02-171-1/+1
* Simplify previous checkin -- a new function was not needed.Raymond Hettinger2003-12-131-26/+1
* * Added a new method flag, METH_COEXIST.Raymond Hettinger2003-12-131-0/+34
* Expose dict_contains() and PyDict_Contains() with is about 10% fasterRaymond Hettinger2003-11-251-3/+4
* SF patch #798467: Update docstring of has_key for bool changesRaymond Hettinger2003-09-011-1/+1
* SF patch #729395: Dictionary tuningRaymond Hettinger2003-05-071-2/+2
* SF patch #729395: Dictionary tuningRaymond Hettinger2003-05-051-10/+16
* Add a reference to dictnotes.txt. It does no good if you don't know it'sRaymond Hettinger2003-05-031-0/+6
* Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger2003-03-171-1/+1
* Created PyObject_GenericGetIter().Raymond Hettinger2003-03-171-8/+1
* SF patch #693753: fix for bug 639806: default for dict.popRaymond Hettinger2003-03-061-3/+15
* Add closing ) in commentNeal Norwitz2003-02-151-1/+1
* cPickle.c, load_build(): Taught cPickle how to pick apartTim Peters2003-02-151-1/+11
* SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger2002-12-291-4/+4
* Constify char* API. Fixes #651363. 2.2 candidate.Martin v. Löwis2002-12-111-3/+3
* SF 548651: Fix the METH_CLASS implementation.Tim Peters2002-12-091-3/+2
* Remove assumption that cls is a subclass of dict.Raymond Hettinger2002-12-071-7/+1
* Replace BadInternalCall with TypeError. Add a test case. Fix whitespace.Raymond Hettinger2002-12-041-2/+3
* Add missing decrefNeal Norwitz2002-11-271-0/+1
* SF Patch 643443. Added dict.fromkeys(iterable, value=None), a classRaymond Hettinger2002-11-271-0/+56
* Patch #642500 with slight modifications: allow keyword arguments inJust van Rossum2002-11-231-5/+7
* In doc strings, use 'k in D' rather than D.has_key(k).Guido van Rossum2002-09-041-2/+2
* SF patch 576101, by Oren Tirosh: alternative implementation ofGuido van Rossum2002-08-191-9/+3
* staticforward bites the dust.Jeremy Hylton2002-07-171-1/+1
* Make StopIteration a sink state. This is done by clearing out theGuido van Rossum2002-07-161-28/+11
* Patch #568124: Add doc string macros.Martin v. Löwis2002-06-131-30/+30
* Add Raymond Hettinger's d.pop(). See SF patch 539949.Guido van Rossum2002-04-121-0/+38
* PyObject_GC_Del and PyObject_Del can now be used as a functionNeil Schemenauer2002-04-121-3/+3
* Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum2002-04-031-1/+1
* Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.Tim Peters2002-03-291-34/+8
* This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).Guido van Rossum2002-03-281-1/+1
* Use pymalloc if it's enabled.Neil Schemenauer2002-03-221-2/+2
* SF bug #491415 PyDict_UpdateFromSeq2() unusedTim Peters2001-12-111-8/+2
* Fix of SF bug #475877 (Mutable subtype instances are hashable).Guido van Rossum2001-12-031-1/+8