[issue1726687] Bug found in datetime for Epoch time = -1

STINNER Victor report at bugs.python.org
Fri Mar 20 02:02:26 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

New version of my fix:
 - the test doesn't depend on _my_ local anymore: it uses localtime() 
to get the time tuple in the host local
 - ignore the test if mktime(-2) raise an OverflowError: avoid the 
test on Windows

Is it now ok for everyone?

----------
Added file: http://bugs.python.org/file13378/fix_mktime-2.patch

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


More information about the Python-bugs-list mailing list