This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Antony.Lee, josh.r, pitrou, rhettinger, serhiy.storchaka, zach.ware
Date 2014-12-14.16:49:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418575770.13.0.526222191228.issue22955@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-12-14 16:49:30serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, zach.ware, Antony.Lee, josh.r
2014-12-14 16:49:30serhiy.storchakasetmessageid: <1418575770.13.0.526222191228.issue22955@psf.upfronthosting.co.za>
2014-12-14 16:49:30serhiy.storchakalinkissue22955 messages
2014-12-14 16:49:30serhiy.storchakacreate