[issue15080] Cookie library doesn't parse date properly

Terry J. Reedy report at bugs.python.org
Sat Jun 23 07:01:02 CEST 2012


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Jeremy, when reporting bugs, please first check the latest release. This works in current 2.7.3 (as well as latest 2.6.8 and 3.3.0).
>>> import Cookie
>>> cookie = Cookie.SimpleCookie('bcookie="123"; Expires=Sat, 14-Jun-2014 23:03:13 GMT;')
>>> cookie['bcookie']['expires']
'Sat, 14-Jun-2014 23:03:13 GMT'

2.6 only gets security patches. There have been as least a thousand patches since 2.6.1 and this is one of them.

----------
nosy: +terry.reedy
resolution:  -> out of date
status: open -> closed

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


More information about the Python-bugs-list mailing list