Re: Python 2.5 and pickling response objects

2012-01-20 Thread Luke Plant
On 20/01/12 17:22, Tom Evans wrote: > The python bug is marked wont-fix. In our production code, we have > temporarily worked around it by forcing sessions to be encoded with > protocol 1 (binary) rather than protocol 2, by monkey patching > pickle.HIGHEST_PROTOCOL in settings.py. > > Do you thin

Python 2.5 and pickling response objects

2012-01-20 Thread Tom Evans
Hi all I was recently affected in production by a python bug: http://bugs.python.org/issue826897 (also http://bugs.python.org/issue964868 , which refers to the problem with Cookie) The class affected by this bug is python's Cookie.Morsel. With the bug, each time the object is pickled/unpickled,