Message231872
I'd prefer to just reimplement itemgetter and attrgetter to make them picklable rather than adding pickling methods to them; see attached patch.
I also posted a few comments, but I just went ahead and addressed them myself in this patch. I'm not qualified to give the _operator.c changes a proper review, but they look good enough to me if others agree that __reduce__ is the best approach in C. |
|
Date |
User |
Action |
Args |
2014-11-29 21:52:06 | zach.ware | set | recipients:
+ zach.ware, rhettinger, pitrou, serhiy.storchaka, Antony.Lee, josh.r |
2014-11-29 21:52:06 | zach.ware | set | messageid: <1417297926.09.0.294241884241.issue22955@psf.upfronthosting.co.za> |
2014-11-29 21:52:06 | zach.ware | link | issue22955 messages |
2014-11-29 21:52:05 | zach.ware | create | |
|