| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.6] closes bpo-31608: Fix a crash in methods of a subclass of ↵ | Benjamin Peterson | 2018-09-11 | 1 | -3/+13 |
| | | | | | | | | _collections.deque with a bad __new__(). (GH-9178) (cherry picked from commit 24bd50bdcc97d65130c07d6cd26085fd06c3e972) Co-authored-by: Oren Milman <orenmn@gmail.com> | ||||
| * | bpo-33677: Fix signatures of tp_clear handlers for AST and deque. (GH-7196) ↵ | Miss Islington (bot) | 2018-05-31 | 1 | -3/+4 |
| | | | | | | | | (GH-7269) (cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
| * | [3.6] bpo-31586: Use _count_element fast path for real dicts. (#3776) | Miss Islington (bot) | 2017-09-27 | 1 | -1/+3 |
| | | | | (cherry picked from commit 31aca4bf79217e6ec4c1d056d3ad7ed4dd469c78) | ||||
| * | bpo-31095: fix potential crash during GC (GH-3195) | INADA Naoki | 2017-09-04 | 1 | -0/+4 |
| | | | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c) | ||||
| * | bpo-29935: Fixed error messages in the index() method of tuple, list and ↵ | Serhiy Storchaka | 2017-03-30 | 1 | -2/+2 |
| | | | | | | | deque (#887) (#907) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) | ||||
| * | Merge doc fixes from 3.5 | Martin Panter | 2017-01-14 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix grammar, typos and markup in documentation and code comments | Martin Panter | 2017-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt | ||||
| | * | Issue #26194: Inserting into a full deque to raise an IndexError | Raymond Hettinger | 2016-02-02 | 1 | -5/+2 |
| | | | |||||
| * | | Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception as | Serhiy Storchaka | 2016-11-06 | 1 | -0/+2 |
| | | | | | | | | | PyDict_GetItemWithError(). Patch by Xiang Zhang. | ||||
| * | | Revert part of 3471a3515827 that caused a performance regression | Raymond Hettinger | 2016-09-12 | 1 | -8/+44 |
| | | | |||||
| * | | Avoid inefficient way to call functions without argument | Victor Stinner | 2016-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument. | ||||
| * | | - Modules/_collectionsmodule.c: Mark one more internal symbol as static. | doko@ubuntu.com | 2016-06-14 | 1 | -1/+1 |
| | | | |||||
| * | | - make some internal symbols static | doko@ubuntu.com | 2016-05-17 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #26482: Allowed pickling recursive dequeues. | Serhiy Storchaka | 2016-03-06 | 1 | -18/+18 |
| | | | |||||
| * | | More logicial order. Move space saving step to just before it is used. | Raymond Hettinger | 2016-03-04 | 1 | -14/+14 |
| | | | |||||
| * | | Factor-out common subexpression. | Raymond Hettinger | 2016-03-02 | 1 | -3/+3 |
| | | | |||||
| * | | Put block length computations in a more logical order. | Raymond Hettinger | 2016-03-02 | 1 | -2/+2 |
| | | | |||||
| * | | Issue #26200: The SETREF macro adds unnecessary work in some cases. | Raymond Hettinger | 2016-02-09 | 1 | -1/+4 |
| | | | |||||
| * | | merge | Raymond Hettinger | 2016-02-02 | 1 | -5/+2 |
| | | | |||||
| * | | merge | Raymond Hettinger | 2016-01-27 | 1 | -0/+7 |
| |\ \ | |/ | |||||
| | * | Issue #26194: Fix undefined behavior for deque.insert() when len(d) == maxlen | Raymond Hettinger | 2016-01-27 | 1 | -0/+7 |
| | | | |||||
| * | | Convert another post-decrement while-loop to pre-decrement for consistency | Raymond Hettinger | 2016-01-24 | 1 | -1/+2 |
| | | | | | | | | | and better generated code (on both GCC and CLang). | ||||
| * | | Convert two other post-decrement while-loops to pre-decrements for consistency | Raymond Hettinger | 2016-01-24 | 1 | -2/+4 |
| | | | | | | | | | and for better code generation. | ||||
| * | | Miscellaneous refactorings | Raymond Hettinger | 2016-01-24 | 1 | -65/+58 |
| | | | | | | | | | | | | | | | | | * Add comment to the maxlen structure entry about the meaning of maxlen == -1 * Factor-out code common to deque_append(left) and deque_extend(left) * Factor inner-loop in deque_clear() to use only 1 test per loop instead of 2 * Tighten inner-loops for deque_item() and deque_ass_item() so that the compiler can combine the decrement and test into a single step. | ||||
| * | | merge 3.5 | Benjamin Peterson | 2016-01-01 | 1 | -2/+0 |
| |\ \ | |/ | |||||
| | * | merge 3.4 | Benjamin Peterson | 2016-01-01 | 1 | -2/+0 |
| | |\ | |||||
| | | * | merge 3.3 | Benjamin Peterson | 2016-01-01 | 1 | -2/+0 |
| | | |\ | |||||
| | | | * | remove some copyright notices supserseded by the toplevel ones | Benjamin Peterson | 2016-01-01 | 1 | -2/+0 |
| | | | | | |||||
| * | | | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. | Serhiy Storchaka | 2015-12-27 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it. | ||||
| * | | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 |
| |\ \ \ \ | |/ / / | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
| | * | | | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
| * | | | | Neaten-up the inner-loop logic. | Raymond Hettinger | 2015-11-04 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | Minor cleanup. | Raymond Hettinger | 2015-11-02 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | merge | Raymond Hettinger | 2015-11-02 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| | * \ \ \ | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | |\ \ \ \ | | |/ / / | |||||
| | | * | | | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | |||||
| | | * | | | Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6 | Raymond Hettinger | 2015-10-07 | 1 | -1/+5 |
| | | | | | | |||||
| * | | | | | Move the initial start-search out of the main loop so it can be factored-out ↵ | Raymond Hettinger | 2015-11-02 | 1 | -16/+27 |
| |/ / / / | | | | | | | | | | | | | later. | ||||
| * | | | | Removed unused parameter | Raymond Hettinger | 2015-10-23 | 1 | -10/+10 |
| | | | | | |||||
| * | | | | Only update the state variable once per iteration. | Raymond Hettinger | 2015-10-20 | 1 | -4/+8 |
| | | | | | |||||
| * | | | | Issue #25414: Remove unnecessary tests that can never succeed. | Raymond Hettinger | 2015-10-17 | 1 | -15/+1 |
| | | | | | |||||
| * | | | | Remove old Todo entry that isn't going to happen. | Raymond Hettinger | 2015-10-16 | 1 | -6/+0 |
| | | | | | |||||
| * | | | | Rewrap comment. | Raymond Hettinger | 2015-10-15 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | Use unsigned division | Raymond Hettinger | 2015-10-15 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Improve variable names and constant expressions | Raymond Hettinger | 2015-10-15 | 1 | -9/+11 |
| | | | | | |||||
| * | | | | Minor fixup. maxlen is already known. | Raymond Hettinger | 2015-10-12 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Refactor the deque trim logic to eliminate the two separate trim functions. | Raymond Hettinger | 2015-10-12 | 1 | -25/+14 |
| | | | | | |||||
| * | | | | Hoist the deque->maxlen lookup out of the inner-loop. | Raymond Hettinger | 2015-10-11 | 1 | -6/+10 |
| | | | | | |||||
| * | | | | Minor tweak. Make the maxlen comparisons a little more clear and consistent. | Raymond Hettinger | 2015-10-11 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Eliminate unnecessary test | Raymond Hettinger | 2015-10-06 | 1 | -1/+1 |
| | | | | | |||||
