summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
AgeCommit message (Expand)AuthorLines
2002-03-28Sort-of backport to 2.1.3 (if we ever release it) of the following.Guido van Rossum-1/+1
2001-05-23Backport Tim's checkin 2.84:Thomas Wouters-34/+95
2001-04-16Tim pointed out a remaining vulnerability in popitem(): theGuido van Rossum-5/+6
2001-04-15Tentative fix for a problem that Tim discovered at the last moment,Guido van Rossum-61/+110
2001-03-21Make PyDict_Next safe to use for loops that merely modify the valuesTim Peters-8/+32
2001-01-18Rich comparisons:Guido van Rossum-118/+45
2001-01-03dict_update has two boundary conditions: a.update(a) and a.update({})Jeremy Hylton-2/+2
2000-12-13Add long-overdue docstrings to dict methods.Tim Peters-11/+53
2000-12-13Typo repair in comments. Fell for GregS's .popitem() poke.Tim Peters-2/+6
2000-12-13Bring comments up to date (e.g., they still said the table had to beTim Peters-23/+40
2000-12-12Add popitem() -- SF patch #102733.Guido van Rossum-0/+53
2000-11-30Backing out my changes.Moshe Zadka-72/+0
2000-11-30Added .first{item,value,key}() to dictionaries.Moshe Zadka-0/+72
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-31Slight performance hack that also avoids requiring the existence of threadFred Drake-12/+124
2000-08-31Clear errors raised by PyObject_Compare() without losing any existingFred Drake-9/+44
2000-08-08Barry's patch to implement the new setdefault() method.Guido van Rossum-0/+36
2000-07-22Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters-1/+1
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1
2000-07-04Removed Py_PROTO and switched to ANSI C declarations in the dictTim Peters-104/+34
2000-07-01Neil Schemenauer: small fixes for GCGuido van Rossum-0/+1
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-06-30final patches from Neil Schemenauer for garbage collectionJeremy Hylton-1/+3
2000-06-23part 2 of Neil Schemenauer's GC patches:Jeremy Hylton-2/+2
2000-06-23Round 1 of Neil Schemenauer's GC patches:Jeremy Hylton-0/+35
2000-05-03Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum-4/+6
2000-03-30Add PyDict_Copy() function to C API for dicts. It returns a newJeremy Hylton-1/+15
2000-03-13Christian Tismer's "trashcan" patch:Guido van Rossum-0/+2
2000-02-23dict_has_key(): Accept only one parameter. PR#210 reported byFred Drake-4/+4
1999-03-24Vladimir Marangozov contributed updated comments.Guido van Rossum-11/+8
1998-11-16Remove dead code discovered by Vladimir Marangozov.Guido van Rossum-4/+2
1998-10-06Slight rearrangement of code in lookdict() by Vladimir Marangozov, toGuido van Rossum-4/+3
1998-07-16Avoid using calloc(). This triggered an obscure bug on multiprocessorGuido van Rossum-1/+2
1998-05-14Make sure that PyDict_GetItem[String]() *never* raises an exception.Guido van Rossum-2/+3
1998-04-10Use Py_Repr{Enter,Leave} to display recursive dictionaries in finite space.Guido van Rossum-5/+31
1997-10-20Correct Barry's fix -- take care of {}.get(0).Guido van Rossum-0/+3
1997-10-20dict_get(): Fixed a couple of stupid mistakes which caused crashes.Barry Warsaw-8/+2
1997-10-06dict_get(): New method for item access with different semantics thanBarry Warsaw-0/+38
1997-09-29Don't intern the key string for getitem and delitem.Guido van Rossum-3/+1
1997-08-18Made lookdict nearly twice as fast, resulting in a 5% overallGuido van Rossum-11/+13
1997-07-13Reordered list of methods to hopefully put the most frequently usedGuido van Rossum-4/+4
1997-06-02Renamed dict.absorb() (too spungy) to dict.update().Guido van Rossum-3/+3
1997-05-28Added dict.absorb() and dict.copy().Guido van Rossum-6/+70
1997-05-23PyObject_Compare can now return an error. Unfortunately, there are aGuido van Rossum-0/+8
1997-05-20Moved PyObject_{Get,Set}Attr to object.c.Guido van Rossum-33/+2
1997-05-16Got rid of all the last_name_* bogosities. I don't think theGuido van Rossum-53/+34
1997-05-13Renamed from mappingobject.c to dictobject.c.Guido van Rossum-110/+104
1997-05-02Quickly renamed the last directory.Guido van Rossum-255/+258
1997-04-11(Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.Guido van Rossum-0/+3