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-11-29.22:10:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417299038.16.0.363693005855.issue22955@psf.upfronthosting.co.za>
In-reply-to
Content
operator.methodcaller is similar to functools.partial which is pickleable and can be used as a sample.

In C implementation some code can be shared between __repr__ and __reduce__ methods.

As for tests, different protocols should be tested. Also should be tested compatibility between C and Python implementations, instances pickled with one implementation should be unpickleable with other implementation. Move pickle tests into new test class.

If add __repr__ methods, they need tests. The restriction of method name type should be tested too.
History
Date User Action Args
2014-11-29 22:10:38serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, zach.ware, Antony.Lee, josh.r
2014-11-29 22:10:38serhiy.storchakasetmessageid: <1417299038.16.0.363693005855.issue22955@psf.upfronthosting.co.za>
2014-11-29 22:10:38serhiy.storchakalinkissue22955 messages
2014-11-29 22:10:38serhiy.storchakacreate