Message232641
Here is revised Josh's patch. Added tests for consistency between both implementations, fixed inconsistencies and bugs.
I still hesitate about pickling format of methodcaller. First, there is asymmetry between positional and keyword arguments. Second, for now methodcaller is not inheritable, but if it will be in future (as functools.partial is), it would be harder to extend pickling format to support instance attributes. |
|
Date |
User |
Action |
Args |
2014-12-14 16:49:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, zach.ware, Antony.Lee, josh.r |
2014-12-14 16:49:30 | serhiy.storchaka | set | messageid: <1418575770.13.0.526222191228.issue22955@psf.upfronthosting.co.za> |
2014-12-14 16:49:30 | serhiy.storchaka | link | issue22955 messages |
2014-12-14 16:49:30 | serhiy.storchaka | create | |
|