[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

Trent Nelson report at bugs.python.org
Tue Aug 21 07:32:19 CEST 2012


Trent Nelson added the comment:

Narrowed it down to the following snippet:


>>> time.mktime((2012, 3, 12, 1, 1, 0, 0, 72, -1))
1331514060.0
[70780 refs]
>>> time.mktime((2012, 3, 12, 1, 1, 0, 0, 72, 1))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: mktime argument out of range
[70832 refs]


On all my FreeBSD boxes, that latter invocation always raises an OverflowError.

----------

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


More information about the Python-bugs-list mailing list