[issue22296] cookielib uses time.time(), making incorrect checks of expiration times in cookies

Rebecka report at bugs.python.org
Mon Sep 1 09:02:03 CEST 2014


Rebecka added the comment:

I've checked and an updated test file for 3.4 shows the same behaviour in the renamed module http.cookiejar.

Even though no standard exists I hope 3.4+ would be changed to simplify the cookie handling, since there is a lot of hassle converting UTC times to local times (which in general should be avoided to avoid introducing further problems with e.g. daylight savings).

----------
Added file: http://bugs.python.org/file36519/cookie_timestamp_test_3.4.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22296>
_______________________________________


More information about the Python-bugs-list mailing list