[issue1326448] set.__getstate__ is not overriden
Raymond Hettinger
report at bugs.python.org
Sat Mar 21 01:44:43 CET 2009
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Am going to close this one. Subclassers have the option of overriding
__reduce__ to control pickling. My reading of the docs shows no
guarantees that builtin types won't use __reduce__. Since this has been
out for a good while, there doesn't seem to be a way to shift away from
reduce without breaking existing pickles.
It's unfortunate that pickling provides so many different hooks and they
don't all play nice with one another.
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1326448>
_______________________________________
More information about the Python-bugs-list
mailing list