Op Friday 8 May 2015 12:32 CEST schreef Peter Otten: > 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?
Certainly. I use it to store which messages are ‘recently’ used, so I will not use them for the next. I will keep it like this for the moment being then. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://mail.python.org/mailman/listinfo/python-list