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 regu0004
Recipients akira, pitrou, regu0004, terry.reedy
Date 2014-09-02.06:15:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1409638527.29.0.749640138113.issue22296@psf.upfronthosting.co.za>
In-reply-to
Content
Akira is correct: using time.mktime to produce the expiration date for the cookie is wrong (thank you very much for the pointers!).

Using e.g. http.cookiejar.http2time with a HTTP formatted date string gives a correct time stamp (with which cookie.is_expired succeeds), so this was not a bug (just user error...).
History
Date User Action Args
2014-09-02 06:15:27regu0004setrecipients: + regu0004, terry.reedy, pitrou, akira
2014-09-02 06:15:27regu0004setmessageid: <1409638527.29.0.749640138113.issue22296@psf.upfronthosting.co.za>
2014-09-02 06:15:27regu0004linkissue22296 messages
2014-09-02 06:15:27regu0004create