[issue14426] Lib/Cookie.py date format problem

2012-03-27 Thread Federico Reghenzani
Federico Reghenzani added the comment: The same problem is present in newest version of Python. I attacched a patch for python 3. -- nosy: +federico.reghenzani versions: +Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file25046/cookie_3.py __

[issue14426] Lib/Cookie.py date format problem

2012-03-27 Thread Müte Invert
New submission from Müte Invert : Cookie.py doesn't format the expiry date correctly. The problematic line is: http://hg.python.org/cpython/file/2.7/Lib/Cookie.py#l393, which should read 'return "%s, %02d %3s %4d %02d:%02d:%02d GMT" % \' (spaces instead of dashes). The RFC specifying the date