Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Small clarification in docstring of dict.update(): the positional argument ↵ | Georg Brandl | 2011-12-18 | 1 | -3/+3 |
| | | | | is not required. | ||||
* | Issue #13018: Fix reference leaks in error paths in dictobject.c. | Petri Lehtinen | 2011-10-24 | 1 | -4/+12 |
| | | | | Patch by Suman Saha. | ||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue 10221: Improve error message for dict.pop(). | Raymond Hettinger | 2010-10-30 | 1 | -2/+1 |
| | |||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -2206/+2206 |
| | |||||
* | Issue #8404: Fix set operations on dictionary views. | Alexandre Vassalotti | 2010-05-04 | 1 | -3/+6 |
| | |||||
* | #8030: more docstring fix for builtin types. | Ezio Melotti | 2010-02-28 | 1 | -2/+2 |
| | |||||
* | #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. | ||||
* | Fixed repr of dictionary views. | Alexandre Vassalotti | 2010-01-12 | 1 | -1/+2 |
| | |||||
* | Issue #1967: Backport dictionary views. | Alexandre Vassalotti | 2010-01-11 | 1 | -0/+505 |
| | |||||
* | clarify | Benjamin Peterson | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | must use _PyThreadState_Current so it isn't checked for NULL #6530 | Benjamin Peterson | 2009-07-21 | 1 | -4/+6 |
| | |||||
* | use the offical api | Benjamin Peterson | 2009-06-04 | 1 | -1/+1 |
| | |||||
* | plug ref leak | Benjamin Peterson | 2009-05-27 | 1 | -4/+7 |
| | |||||
* | correctly handle descrs with __missing__ | Benjamin Peterson | 2009-05-27 | 1 | -5/+6 |
| | |||||
* | The tracking statistics were actually too pessimistic | Antoine Pitrou | 2009-03-23 | 1 | -0/+1 |
| | |||||
* | Issue #4688: Add a heuristic so that tuples and dicts containing only | Antoine Pitrou | 2009-03-23 | 1 | -1/+81 |
| | | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster) | ||||
* | Issue #3680: Reference cycles created through a dict, set or deque iterator ↵ | Antoine Pitrou | 2009-01-01 | 1 | -8/+17 |
| | | | | did not get collected. | ||||
* | Punctuation fix; expand dict.update docstring to be clearer | Andrew M. Kuchling | 2008-10-04 | 1 | -4/+6 |
| | |||||
* | - Issue #3537: Fix an assertion failure when an empty but presized dict | Georg Brandl | 2008-08-11 | 1 | -0/+4 |
| | | | | object was stored in the freelist. | ||||
* | 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 | ||||
* | Issue 3230: Do not the set specific size macro. | Raymond Hettinger | 2008-06-28 | 1 | -1/+1 |
| | |||||
* | Corrected inconsistencies in sizeof tests and addressed issue pointed | Robert Schuppenies | 2008-06-26 | 1 | -1/+1 |
| | | | | out by Jean Brouwers. | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -39/+39 |
| | | | | | | | 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. | ||||
* | Some style nits. Also clarify in the docstrings what __sizeof__ does. | Georg Brandl | 2008-06-01 | 1 | -1/+1 |
| | |||||
* | Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes. | Robert Schuppenies | 2008-06-01 | 1 | -0/+15 |
| | |||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -39/+39 |
| | |||||
* | A little reformating of Py3k warnings | Benjamin Peterson | 2008-04-27 | 1 | -2/+2 |
| | |||||
* | Use PyErr_WarnPy3k throughout | Benjamin Peterson | 2008-04-27 | 1 | -8/+4 |
| | |||||
* | Fix tabs. | Georg Brandl | 2008-03-25 | 1 | -1/+1 |
| | |||||
* | Make Py3k warnings consistent w.r.t. punctuation; also respect the | Georg Brandl | 2008-03-25 | 1 | -3/+6 |
| | | | | EOL 80 limit and supply more alternatives in warning messages. | ||||
* | Add py3k warnings for object, type, cell and dict comparisons. This should ↵ | Steven Bethard | 2008-03-18 | 1 | -1/+7 |
| | | | | resolve issue2342 and partly resolve issue2373. | ||||
* | Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. | Christian Heimes | 2008-02-24 | 1 | -2/+4 |
| | |||||
* | dict.copy() rises from the ashes. Revert r60687. | Raymond Hettinger | 2008-02-12 | 1 | -4/+0 |
| | |||||
* | Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ↵ | Raymond Hettinger | 2008-02-09 | 1 | -0/+4 |
| | | | | away in Py3.x | ||||
* | Use prefix decrement | Christian Heimes | 2008-02-08 | 1 | -2/+2 |
| | |||||
* | Deallocate content of the dict free list on interpreter shutdown | Christian Heimes | 2008-02-08 | 1 | -0/+12 |
| | |||||
* | Added some statistics code to dict and list object code. I wanted to test ↵ | Christian Heimes | 2008-02-07 | 1 | -0/+25 |
| | | | | how a larger freelist affects the reusage of freed objects. Contrary to my gut feelings 80 objects is more than fine for small apps. I haven't profiled a large app yet. | ||||
* | Unified naming convention for free lists and their limits. All free lists | Christian Heimes | 2008-02-06 | 1 | -7/+9 |
| | | | | | | | | 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. | ||||
* | Changes 54857 and 54840 broke code and were reverted in Py2.5 just before | Raymond Hettinger | 2008-01-25 | 1 | -1/+1 |
| | | | | 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 | -4/+4 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary. | Raymond Hettinger | 2007-12-18 | 1 | -0/+17 |
| | | | | | | | | | | | Allows dictionaries to be pre-sized (upto 255 elements) saving time lost to re-sizes with their attendant mallocs and re-insertions. Has zero effect on small dictionaries (5 elements or fewer), a slight benefit for dicts upto 22 elements (because they had to resize once anyway), and more benefit for dicts upto 255 elements (saving multiple resizes during the build-up and reducing the number of collisions on the first insertions). Beyond 255 elements, there is no addional benefit. | ||||
* | Spaces vs. Tabs. | Georg Brandl | 2007-11-29 | 1 | -4/+4 |
| | |||||
* | Fix bug #1517, a segfault in lookdict(). | Guido van Rossum | 2007-11-29 | 1 | -0/+4 |
| | |||||
* | 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). | ||||
* | Optimize common case for dict.fromkeys(). | Raymond Hettinger | 2007-11-09 | 1 | -10/+15 |
| | |||||
* | Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ↵ | Raymond Hettinger | 2007-11-07 | 1 | -0/+19 |
| | | | | counts for example. | ||||
* | Remove file-level typedefs that were inconsistently used throughout the file. | Brett Cannon | 2007-10-10 | 1 | -105/+103 |
| | | | | | | Just move over to the public API names. Closes issue1238. | ||||
* | Add a bunch of GIL release/acquire points in tp_print implementations and for | Brett Cannon | 2007-09-17 | 1 | -1/+12 |
| | | | | | | PyObject_Print(). Closes issue #1164. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -12/+8 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. |