Zachary Ware added the comment:

Serhiy Storchaka added the comment:
> 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.

That's a very good point that I hadn't thought about.  Consider my
patch withdrawn.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22955>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to