[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

Alexander Belopolsky report at bugs.python.org
Fri Feb 18 16:43:53 CET 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

While it is unlikely that a purely numeric format such as "%Y-%m-%d
%H:%M:%S" will be locale dependent, it is possible that some pre-C99
systems would format dates using exotic digits is some locales.  Given
that format is so simple, I would just use explicit formatting of dt
components instead of datetime.strftime.  Doing so will also eliminate
a call to system strftime which is known to be quirky on popular
platforms even in C locale.

----------

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


More information about the Python-bugs-list mailing list