This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients ajaksu2, gsakkis, rhettinger, tim.peters, zseil
Date 2009-03-21.00:44:41
SpamBayes Score 2.4714367e-08
Marked as misclassified No
Message-id <1237596283.85.0.177791810559.issue1326448@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-03-21 00:44:44rhettingersetrecipients: + rhettinger, tim.peters, zseil, gsakkis, ajaksu2
2009-03-21 00:44:43rhettingersetmessageid: <1237596283.85.0.177791810559.issue1326448@psf.upfronthosting.co.za>
2009-03-21 00:44:42rhettingerlinkissue1326448 messages
2009-03-21 00:44:41rhettingercreate