Josh Rosenberg added the comment:
Okay, this one passes the tests for the built-in module. I'm not sure what's
going wrong with the pure Python module. I'm getting the error:
_pickle.PicklingError: Can't pickle <class 'operator.attrgetter'>: it's not
the same object as operator.attrgetter
once for each of the three objects. Anyone recognize this? Is this some weird
artifact of the multiple imports required to test both pure Python and C
versions of the module that I need to work around, or did I make a mistake
somewhere else?
----------
Added file: http://bugs.python.org/file37314/pickle_getter_and_caller.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22955>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com