Message232616
> 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. |
|
Date |
User |
Action |
Args |
2014-12-13 17:54:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, zach.ware, Antony.Lee, josh.r |
2014-12-13 17:54:41 | serhiy.storchaka | set | messageid: <1418493281.54.0.605503027891.issue22955@psf.upfronthosting.co.za> |
2014-12-13 17:54:41 | serhiy.storchaka | link | issue22955 messages |
2014-12-13 17:54:41 | serhiy.storchaka | create | |
|