Message211862
WITHOUT the patch to timemodule.c:
>>> time.ctime(-2**29)
'Fri Dec 26 21:11:28 1952'
>>> time.ctime(2**29)
'Mon Jan 5 10:48:32 1987'
ERROR: test_mktime (test.test_time.TimeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/src/cpython/Lib/test/test_time.py", line 354, in test_mktime
self.assertEqual(time.mktime(tt), t)
OverflowError: mktime argument out of range |
|
Date |
User |
Action |
Args |
2014-02-21 14:47:02 | David.Edelsohn | set | recipients:
+ David.Edelsohn, vstinner, python-dev, serhiy.storchaka |
2014-02-21 14:47:02 | David.Edelsohn | set | messageid: <1392994022.76.0.311896748001.issue19748@psf.upfronthosting.co.za> |
2014-02-21 14:47:02 | David.Edelsohn | link | issue19748 messages |
2014-02-21 14:47:02 | David.Edelsohn | create | |
|