Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | odict: Remove useless ";" after function definition | Victor Stinner | 2016-06-08 | 1 | -9/+9 |
| | | | | Fix a "gcc -pendatic" warning. | ||||
* | Issue #25949: __dict__ for an OrderedDict instance is now created only when | Serhiy Storchaka | 2016-02-08 | 1 | -16/+7 |
| | | | | needed. | ||||
* | Issue #25935: Garbage collector now breaks reference loops with OrderedDict. | Serhiy Storchaka | 2016-01-19 | 1 | -13/+14 |
| | |||||
* | Issue #25914: Fixed and simplified OrderedDict.__sizeof__. | Serhiy Storchaka | 2015-12-22 | 1 | -21/+1 |
| | |||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -2/+0 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | Issue #25462: The hash of the key now is calculated only once in most | Serhiy Storchaka | 2015-11-13 | 1 | -35/+83 |
| | | | | operations in C implementation of OrderedDict. | ||||
* | Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more | Serhiy Storchaka | 2015-11-06 | 1 | -4/+8 |
| | | | | reliable. | ||||
* | Issue #24726: Revert setting the value on the dict if | Serhiy Storchaka | 2015-11-06 | 1 | -1/+7 |
| | | | | _odict_add_new_node() fails. | ||||
* | Issue #25558: Refactoring OrderedDict iteration. | Serhiy Storchaka | 2015-11-06 | 1 | -40/+31 |
| | |||||
* | Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that | Serhiy Storchaka | 2015-11-04 | 1 | -2/+13 |
| | | | | was mutated by direct calls of dict methods. | ||||
* | Issue #25449: Iterating OrderedDict with keys with unstable hash now raises | Serhiy Storchaka | 2015-11-04 | 1 | -0/+2 |
| | | | | | | KeyError in C implementations as well as in Python implementation. Added tests for OrderedDict subclasses. | ||||
* | Issue #25395: Fixed crash when highly nested OrderedDict structures were | Serhiy Storchaka | 2015-11-01 | 1 | -3/+14 |
| | | | | garbage collected. | ||||
* | Issue #25410: C implementation of OrderedDict now uses type(self) instead of | Serhiy Storchaka | 2015-10-22 | 1 | -31/+14 |
| | | | | self.__class__ in __repr__() and __reduce__() for simplicity and reliability. | ||||
* | Issue #25410: Fixed a memory leak in OrderedDict in the case when key's hash | Serhiy Storchaka | 2015-10-20 | 1 | -1/+1 |
| | | | | calculation fails. | ||||
* | Issue #25410: Cleaned up and fixed minor bugs in C implementation of ↵ | Serhiy Storchaka | 2015-10-18 | 1 | -158/+72 |
| | | | | OrderedDict. | ||||
* | Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end() | Serhiy Storchaka | 2015-10-14 | 1 | -21/+10 |
| | | | | | that caused segmentation fault or hang in iterating after moving several items to the start of ordered dict. | ||||
* | odictobject.c: fix compiler warning | Victor Stinner | 2015-09-18 | 1 | -1/+1 |
| | | | | | PyObject_Length() returns a P_ssize_t, not an int. Use a Py_ssize_t to avoid overflow. | ||||
* | Issue #24992: Fix error handling and a race condition (related to garbage | Victor Stinner | 2015-09-03 | 1 | -18/+22 |
| | | | | | | collection) in collections.OrderedDict constructor. Patch reviewed by Serhiy Storchaka. | ||||
* | Issue #24667: Resize odict in all cases that the underlying dict resizes. | Eric Snow | 2015-08-07 | 1 | -7/+10 |
| | |||||
* | repair my irrational excuberance | Benjamin Peterson | 2015-06-07 | 1 | -54/+57 |
| | |||||
* | remove unnecessary braces and indentation | Benjamin Peterson | 2015-06-07 | 1 | -58/+57 |
| | |||||
* | fix refleak when keys() fails | Benjamin Peterson | 2015-06-04 | 1 | -2/+6 |
| | |||||
* | Issue #24369: Defend against key-changes during iteration. | Eric Snow | 2015-06-04 | 1 | -13/+19 |
| | |||||
* | Issue #24377: Fix a ref leak in OrderedDict.__repr__. | Eric Snow | 2015-06-03 | 1 | -1/+1 |
| | |||||
* | Issue #24362: Simplify the C OrderedDict fast nodes resize logic. | Eric Snow | 2015-06-03 | 1 | -34/+40 |
| | |||||
* | Issue #24368: Support keyword arguments in OrderedDict methods. | Eric Snow | 2015-06-03 | 1 | -23/+49 |
| | |||||
* | Issue #24359: Check for changed OrderedDict size during iteration. | Eric Snow | 2015-06-02 | 1 | -0/+10 |
| | |||||
* | Issue #24348: Drop superfluous increfs/decrefs. | Eric Snow | 2015-06-02 | 1 | -33/+13 |
| | |||||
* | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. | Eric Snow | 2015-06-02 | 1 | -15/+47 |
| | |||||
* | Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict. | Eric Snow | 2015-05-30 | 1 | -12/+14 |
| | |||||
* | Issue #16991: Do not return None from OrderedDict.__reversed__. | Eric Snow | 2015-05-30 | 1 | -3/+0 |
| | |||||
* | Issue #16991: Properly handle return values in several places. | Eric Snow | 2015-05-30 | 1 | -16/+43 |
| | |||||
* | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -0/+2394 |