Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-35582: Inline arguments tuple unpacking in handwritten code. (GH-11524) | Serhiy Storchaka | 2019-01-12 | 1 | -11/+10 |
| | | | | | Inline PyArg_UnpackTuple() and _PyArg_UnpackStack() in performance sensitive code in the builtins and operator modules. | ||||
* | bpo-35664: Optimize operator.itemgetter (GH-11435) | Raymond Hettinger | 2019-01-07 | 1 | -5/+37 |
| | |||||
* | bpo-35303: Fix a reference leak in _operator.c's methodcaller_repr(). (GH-10689) | Zackery Spytz | 2018-11-23 | 1 | -0/+1 |
| | |||||
* | bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵ | Siddhesh Poyarekar | 2018-04-29 | 1 | -3/+3 |
| | | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument. | ||||
* | bpo-30592: Fixed error messages for some builtins. (#1996) | Serhiy Storchaka | 2017-06-08 | 1 | -2/+2 |
| | | | | | Error messages when pass keyword arguments to some builtins that don't support keyword arguments contained double parenthesis: "()()". The regression was introduced by bpo-30534. | ||||
* | Issue #29460: _PyArg_NoKeywords(), _PyArg_NoStackKeywords() and | Serhiy Storchaka | 2017-02-06 | 1 | -3/+3 |
| | | | | _PyArg_NoPositional() now are macros. | ||||
* | Issue #20186: Converted the _operator module to Argument Clinic. | Serhiy Storchaka | 2017-01-19 | 1 | -245/+780 |
| | | | | Patch by Tal Einat. | ||||
* | Issue #28959: Added private macro PyDict_GET_SIZE for retrieving the size of ↵ | Serhiy Storchaka | 2016-12-16 | 1 | -11/+2 |
| | | | | dict. | ||||
* | Issue #27809: methodcaller_reduce() uses fast call | Victor Stinner | 2016-08-22 | 1 | -11/+7 |
| | |||||
* | merge 3.4 (#27783) | Benjamin Peterson | 2016-08-17 | 1 | -8/+8 |
|\ | |||||
| * | merge 3.3 (#27783) | Benjamin Peterson | 2016-08-17 | 1 | -8/+7 |
| | | |||||
* | | Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of | Serhiy Storchaka | 2016-04-29 | 1 | -3/+3 |
| | | | | | | | | itemgetter, attrgetter and methodcaller objects. | ||||
* | | Issue #26822: itemgetter, attrgetter and methodcaller objects no longer | Serhiy Storchaka | 2016-04-23 | 1 | -0/+6 |
| | | | | | | | | silently ignore keyword arguments. | ||||
* | | Issue #22955: Fixed reference leak in attrgetter.repr(). | Serhiy Storchaka | 2015-05-21 | 1 | -1/+3 |
| | | |||||
* | | Issue #22955: attrgetter, itemgetter and methodcaller objects in the operator | Serhiy Storchaka | 2015-05-20 | 1 | -7/+270 |
| | | | | | | | | | | module now support pickling. Added readable and evaluable repr for these objects. Based on patch by Josh Rosenberg. | ||||
* | | #16518: Bring error messages in harmony with docs ("bytes-like object") | R David Murray | 2014-10-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.) | ||||
* | | merge 3.4 | Benjamin Peterson | 2014-05-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | use logical rather than bit and | Benjamin Peterson | 2014-05-11 | 1 | -1/+1 |
| | | |||||
* | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 1 | -0/+4 |
|/ | |||||
* | #16523: merge with 3.3. | Ezio Melotti | 2013-05-08 | 1 | -5/+5 |
| | |||||
* | Issue #16694: Add a pure Python implementation of the operator module. | Antoine Pitrou | 2013-04-20 | 1 | -0/+960 |
Patch by Zachary Ware. |