[Python-3000] Simplifying pickle for Py3k (original) (raw)

skip at pobox.com skip at pobox.com
Wed Oct 3 22:27:34 CEST 2007


Georg> I don't envy everyone reading the pickle docs trying to
Georg> understand which method exactly he has to implement, which is
Georg> going to be called with what arguments, etc.

Agreed. I've been going through that (painful) exercise the past couple of days as I try and figure out what methods my to-be-pickled objects need to implement. reduce, reduce_ex, getstate, setstate, copy_reg, safe_for_unpickling, getnewargs. Your head starts to swim after awhile.

Skip



More information about the Python-3000 mailing list