summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
AgeCommit message (Expand)AuthorLines
2010-01-12Fixed repr of dictionary views.Alexandre Vassalotti-1/+2
2010-01-11Issue #1967: Backport dictionary views.Alexandre Vassalotti-0/+505
2009-07-25clarifyBenjamin Peterson-1/+1
2009-07-21must use _PyThreadState_Current so it isn't checked for NULL #6530Benjamin Peterson-4/+6
2009-06-04use the offical apiBenjamin Peterson-1/+1
2009-05-27plug ref leakBenjamin Peterson-4/+7
2009-05-27correctly handle descrs with __missing__Benjamin Peterson-5/+6
2009-03-23The tracking statistics were actually too pessimisticAntoine Pitrou-0/+1
2009-03-23Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou-1/+81
2009-01-01Issue #3680: Reference cycles created through a dict, set or deque iterator d...Antoine Pitrou-8/+17
2008-10-04Punctuation fix; expand dict.update docstring to be clearerAndrew M. Kuchling-4/+6
2008-08-11- Issue #3537: Fix an assertion failure when an empty but presized dictGeorg Brandl-0/+4
2008-07-15Issue 2235: __hash__ is once again inherited by default, but inheritance can ...Nick Coghlan-1/+1
2008-06-28Issue 3230: Do not the set specific size macro.Raymond Hettinger-1/+1
2008-06-26Corrected inconsistencies in sizeof tests and addressed issue pointedRobert Schuppenies-1/+1
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-39/+39
2008-06-01Some style nits. Also clarify in the docstrings what __sizeof__ does.Georg Brandl-1/+1
2008-06-01Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies-0/+15
2008-05-26Renamed PyString to PyBytesChristian Heimes-39/+39
2008-04-27A little reformating of Py3k warningsBenjamin Peterson-2/+2
2008-04-27Use PyErr_WarnPy3k throughoutBenjamin Peterson-8/+4
2008-03-25Fix tabs.Georg Brandl-1/+1
2008-03-25Make Py3k warnings consistent w.r.t. punctuation; also respect theGeorg Brandl-3/+6
2008-03-18Add py3k warnings for object, type, cell and dict comparisons. This should re...Steven Bethard-1/+7
2008-02-24Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal.Christian Heimes-2/+4
2008-02-12dict.copy() rises from the ashes. Revert r60687.Raymond Hettinger-4/+0
2008-02-09Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ...Raymond Hettinger-0/+4
2008-02-08Use prefix decrementChristian Heimes-2/+2
2008-02-08Deallocate content of the dict free list on interpreter shutdownChristian Heimes-0/+12
2008-02-07Added some statistics code to dict and list object code. I wanted to test how...Christian Heimes-0/+25
2008-02-06Unified naming convention for free lists and their limits. All free listsChristian Heimes-7/+9
2008-01-25Changes 54857 and 54840 broke code and were reverted in Py2.5 just beforeRaymond Hettinger-1/+1
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-4/+4
2007-12-18Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary.Raymond Hettinger-0/+17
2007-11-29Spaces vs. Tabs.Georg Brandl-4/+4
2007-11-29Fix bug #1517, a segfault in lookdict().Guido van Rossum-0/+4
2007-11-22Backport of _abccoll.py by Benjamin Arangueren, issue 1383.Guido van Rossum-8/+1
2007-11-09Optimize common case for dict.fromkeys().Raymond Hettinger-10/+15
2007-11-07Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ...Raymond Hettinger-0/+19
2007-10-10Remove file-level typedefs that were inconsistently used throughout the file.Brett Cannon-105/+103
2007-09-17Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon-1/+12
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-12/+8
2007-05-23Whitespace cleanupNeal Norwitz-1/+1
2007-05-23Add -3 option to the interpreter to warn about features that areNeal Norwitz-2/+12
2007-03-21Add test and fix for fromkeys() optional argument.Raymond Hettinger-2/+2
2007-03-20Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() call...Raymond Hettinger-0/+18
2007-02-25Variation of patch # 1624059 to speed up checking if an object is a subclassNeal Norwitz-1/+1
2007-02-19Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash().Raymond Hettinger-0/+39
2007-02-07SF #1615701: make d.update(m) honor __getitem__() and keys() in dict subclassesRaymond Hettinger-1/+1
2006-10-29Fix refleakNeal Norwitz-0/+1