[issue12144] cookielib.CookieJar.make_cookies fails for cookies with 'expires' set

Scott Wimer report at bugs.python.org
Sun May 22 05:07:56 CEST 2011


Scott Wimer <scott.wimer at gmail.com> added the comment:

The actual error is triggered by line 1507 in '_cookie_from_cookie_tuple()'.

An easy fix is to move the setting of '_now' on line 1636 into the 'make_cookies()' method.

That addresses this problem and doesn't look like it would introduce any negative side effects.

----------

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


More information about the Python-bugs-list mailing list