To pickle or not to pickle
Peter Otten
__peter__ at web.de
Fri May 8 06:32:50 EDT 2015
Cecil Westerhof wrote:
> I first used marshal in my filebasedMessages module. Then I read that
> you should not use it, because it changes per Python version and it
> was better to use pickle. So I did that and now I find:
> https://wiki.python.org/moin/Pickle
>
> Is it really that bad and should I change again?
Let's say it the other way around: pickle is fine for short term storage
when the generation of the file is under your control and you only need to
access it from Python.
Does that description fit your requirements?
More information about the Python-list
mailing list