This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tim.Graham
Recipients Tim.Graham, berker.peksag, georg.brandl
Date 2014-10-31.16:58:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

>>> import pickle
>>> from http.cookies import SimpleCookie
>>> pickle.loads(pickle.dumps(SimpleCookie('hi=there'),2))
<SimpleCookie: hi='there'>
# Actual
<SimpleCookie: hi='Set-Cookie: hi=there'>

Patch is based on the suggestion from Georg Brandl in #22758 (I added the "else" as the fix did not work without it).
Date User Action Args
2014-10-31 16:58:03Tim.Grahamsetrecipients: + Tim.Graham, georg.brandl, berker.peksag
2014-10-31 16:58:03Tim.Grahamsetmessageid: <>
2014-10-31 16:58:03Tim.Grahamlinkissue22775 messages
2014-10-31 16:58:03Tim.Grahamcreate