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

STINNER Victor report at bugs.python.org
Fri Mar 20 16:20:32 CET 2009


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

@Amaury: You wrote:

 << But negative time_t are still not allowed by the Microsoft CRT, 
the tests fail.>>

So I choosed to skip mktime(-1) test if mktime(-2) fails.

I don't have Windows to test my patch nor current behaviour.

----------

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


More information about the Python-bugs-list mailing list