summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
AgeCommit message (Expand)AuthorLines
2003-09-01SF patch #798467: Update docstring of has_key for bool changesRaymond Hettinger-1/+1
2003-05-07SF patch #729395: Dictionary tuningRaymond Hettinger-2/+2
2003-05-05SF patch #729395: Dictionary tuningRaymond Hettinger-10/+16
2003-05-03Add a reference to dictnotes.txt. It does no good if you don't know it'sRaymond Hettinger-0/+6
2003-03-17Renamed PyObject_GenericGetIter to PyObject_SelfIterRaymond Hettinger-1/+1
2003-03-17Created PyObject_GenericGetIter().Raymond Hettinger-8/+1
2003-03-06SF patch #693753: fix for bug 639806: default for dict.popRaymond Hettinger-3/+15
2003-02-15Add closing ) in commentNeal Norwitz-1/+1
2003-02-15cPickle.c, load_build(): Taught cPickle how to pick apartTim Peters-1/+11
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-4/+4
2002-12-11Constify char* API. Fixes #651363. 2.2 candidate.Martin v. Löwis-3/+3
2002-12-09SF 548651: Fix the METH_CLASS implementation.Tim Peters-3/+2
2002-12-07Remove assumption that cls is a subclass of dict.Raymond Hettinger-7/+1
2002-12-04Replace BadInternalCall with TypeError. Add a test case. Fix whitespace.Raymond Hettinger-2/+3
2002-11-27Add missing decrefNeal Norwitz-0/+1
2002-11-27SF Patch 643443. Added dict.fromkeys(iterable, value=None), a classRaymond Hettinger-0/+56
2002-11-23Patch #642500 with slight modifications: allow keyword arguments inJust van Rossum-5/+7
2002-09-04In doc strings, use 'k in D' rather than D.has_key(k).Guido van Rossum-2/+2
2002-08-19SF patch 576101, by Oren Tirosh: alternative implementation ofGuido van Rossum-9/+3
2002-07-17staticforward bites the dust.Jeremy Hylton-1/+1
2002-07-16Make StopIteration a sink state. This is done by clearing out theGuido van Rossum-28/+11
2002-06-13Patch #568124: Add doc string macros.Martin v. Löwis-30/+30
2002-04-12Add Raymond Hettinger's d.pop(). See SF patch 539949.Guido van Rossum-0/+38
2002-04-12PyObject_GC_Del and PyObject_Del can now be used as a functionNeil Schemenauer-3/+3
2002-04-03Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum-1/+1
2002-03-29Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols.Tim Peters-34/+8
2002-03-28This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).Guido van Rossum-1/+1
2002-03-22Use pymalloc if it's enabled.Neil Schemenauer-2/+2
2001-12-11SF bug #491415 PyDict_UpdateFromSeq2() unusedTim Peters-8/+2
2001-12-03Fix of SF bug #475877 (Mutable subtype instances are hashable).Guido van Rossum-1/+8
2001-10-29Rename "dictionary" (type and constructor) to "dict".Tim Peters-5/+5
2001-10-27dictionary() constructor:Tim Peters-7/+5
2001-10-26Generalize dictionary() to accept a sequence of 2-sequences. At theTim Peters-16/+102
2001-10-05Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum-1/+2
2001-09-14Changed the dict implementation to take "string shortcuts" only whenTim Peters-13/+16
2001-09-02Repair typo in comment.Tim Peters-1/+1
2001-09-02Make dictionary() a real constructor. Accepts at most one argument, "aTim Peters-2/+29
2001-08-29Use new GC API.Neil Schemenauer-7/+6
2001-08-16Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis-50/+25
2001-08-10Add PyDict_Merge(a, b, override):Guido van Rossum-2/+18
2001-08-02Merge of descr-branch back into trunk.Tim Peters-123/+107
2001-06-26dict_update(): Generalize this method so {}.update() accepts anyBarry Warsaw-17/+70
2001-06-16dict_repr: Reuse one of the int vars (minor code simplification).Tim Peters-3/+3
2001-06-16SF bug 433228: repr(list) woes when len(list) big.Tim Peters-29/+67
2001-06-04Store the mask instead of the size in dictobjects. The mask is moreTim Peters-23/+29
2001-06-03lookdict: stop more insane core-dump mutating comparison cases. ShouldTim Peters-6/+31
2001-06-03lookdict: Reduce obfuscating code duplication with a judicious goto.Tim Peters-25/+21
2001-06-02Finish the dict->string coredump fix. Need sleep.Tim Peters-1/+1
2001-06-02Coredumpers from Michael Hudson, mutating dicts while printing orTim Peters-7/+19
2001-06-02dict_popitem(): Repaired last-second 2.1 comment, which misidentified theTim Peters-5/+8