Cookie module segmentation fault

Timothy O'Malley timo at
Sat Mar 11 06:22:43 CET 2000


In article <8a91fh$2kg$1 at>, Dan wrote:
> I recently ran upon a case where the cookie module was seg faulting on
> me.  
> --------------------------------
> import cookie
> a = 'Searches="jszXm!\\011Search#952590835.437"'
> cookie.Cookie(a)
> --------------------------------

As other posters note, the segmentation fault comes from the cPickle
module.  If you are using literal strings as your cookie values, (now at version 2.24 or so) includes a way to skip the
cPickle parsing step:


See the module documentation for more information.

More information about the Python-list mailing list