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-13.17:54:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418493281.54.0.605503027891.issue22955@psf.upfronthosting.co.za>
In-reply-to
Content
> functools.partial is a somewhat less than ideal comparison.  The pure-Python version is not picklable, the Python and C versions return different things (the Python version is a function returning a function, the C version is a regular class and returns an instance).

Looks as Python version of functools.partial() needs a fix.

Reimplementations of the pure-Python itemgetter and attrgetter to automatically pickleable Python classes have a disadvantage. It makes the pickling incompatible between Python and C versions. This means that itemgetter pickled in CPython will be not unpickleable on Python implementation which don't use C accelerator and vice versa.
History
Date User Action Args
2014-12-13 17:54:41serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, zach.ware, Antony.Lee, josh.r
2014-12-13 17:54:41serhiy.storchakasetmessageid: <1418493281.54.0.605503027891.issue22955@psf.upfronthosting.co.za>
2014-12-13 17:54:41serhiy.storchakalinkissue22955 messages
2014-12-13 17:54:41serhiy.storchakacreate