> On Wed, Nov 3, 2010 at 9:08 PM, Glyph Lefkowitz <gl...@twistedmatrix.com> > wrote: >> This is the strongest reason why I recommend to everyone I know that they >> not use pickle for storage they'd like to keep working after upgrades [not >> just of stdlib, but other 3rd party software or their own software]. :) >> >> +1. >> Twisted actually tried to preserve pickle compatibility in the bad old days, >> but it was impossible. Pickles should never really be saved to disk unless >> they contain nothing but lists, ints, strings, and dicts.
But *that* set of types can safely be marshalled using the marshal module... -- --Guido van Rossum (python.org/~guido) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com