[issue15080] Cookie library doesn't parse date properly

2012-06-22 Thread Terry J. Reedy
Terry J. Reedy 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['bco

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Jeremy Gillick
Jeremy Gillick added the comment: I'm using Python 2.6.1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Roger Serwy
Roger Serwy added the comment: 2.6.8 is the latest source-only release of the 2.6 series. Here's what I get: Python 2.6.8 (unknown, Jun 15 2012, 15:51:46) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Cookie >>> cook

[issue15080] Cookie library doesn't parse date properly

2012-06-15 Thread Jeremy Gillick
New submission from Jeremy Gillick : The cookie library doesn't seem to support the standard date format (RFC 822) for the expire property while parsing a cookie. For example, in the Python prompt: >>> import Cookie >>> cookie = Cookie.SimpleCookie('bcookie="123"; Expires=Sat, 14-Jun-