Problem w/Cookies Module?

Timothy O'Malley timo at alum.mit.edu
Sun May 21 22:20:44 EDT 2000


hola.

In article <rNHvjEdhm5Pp-pn2-Dqe5piSnkdN1 at d185d18f2.rochester.rr.com>,
Benjamin Schollnick <junkster at nospam.rochester.rr.com> wrote:
> Do we know why this is happening?  A problem with cPickle?  Or
> a implementation problem from the cookies module?

I suppose that depends on your point of view.  :)

You can cause cPickle to crash by saying loads("j"), if I remember
correctly.

Even so, one could make a case that Cookie.py should use Pickle instead
of cPickle to avoid the problem altogether.

For now, my answer is:

   Use Cookie.SimpleCookie() if you use strings as values.



More information about the Python-list mailing list