Victor Stinner
7e7823a037
Issue #27809 : methodcaller_reduce() uses fast call
2016-08-23 00:23:23 +02:00
Benjamin Peterson
6423429325
merge 3.4 ( #27783 )
2016-08-16 23:37:33 -07:00
Benjamin Peterson
a12d92bec1
merge 3.3 ( #27783 )
2016-08-16 23:36:20 -07:00
Serhiy Storchaka
6dfcde5e29
Issue #26822 : Decreased an overhead of using _PyArg_NoKeywords() in calls of
...
itemgetter, attrgetter and methodcaller objects.
2016-04-29 09:10:55 +03:00
Serhiy Storchaka
c2a2a751cf
Issue #26822 : itemgetter, attrgetter and methodcaller objects no longer
...
silently ignore keyword arguments.
2016-04-23 10:51:39 +03:00
Benjamin Peterson
23a192d963
use logical rather than bit and
2014-05-11 16:17:02 -07:00
Ezio Melotti
0fbdf26158
#16523 : merge with 3.3.
2013-05-08 10:56:32 +03:00
Antoine Pitrou
a85017fbe3
Issue #16694 : Add a pure Python implementation of the operator module.
...
Patch by Zachary Ware.
2013-04-20 19:21:44 +02:00
Serhiy Storchaka
548de2b210
Issue #22955 : Fixed reference leak in attrgetter.repr().
2015-05-21 14:19:20 +03:00
Serhiy Storchaka
35ac5f8280
Issue #22955 : attrgetter, itemgetter and methodcaller objects in the operator
...
module now support pickling. Added readable and evaluable repr for these
objects. Based on patch by Josh Rosenberg.
2015-05-20 18:29:18 +03:00
R David Murray
861470c836
#16518 : Bring error messages in harmony with docs ("bytes-like object")
...
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.)
2014-10-05 11:47:01 -04:00
Benjamin Peterson
89aea5075e
merge 3.4
2014-05-11 16:17:34 -07:00
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
2014-04-09 23:55:56 -04:00