Author David.Edelsohn
Recipients David.Edelsohn, python-dev, serhiy.storchaka, vstinner
Date 2014-02-21.14:47:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392994022.76.0.311896748001.issue19748@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-02-21 14:47:02David.Edelsohnsetrecipients: + David.Edelsohn, vstinner, python-dev, serhiy.storchaka
2014-02-21 14:47:02David.Edelsohnsetmessageid: <1392994022.76.0.311896748001.issue19748@psf.upfronthosting.co.za>
2014-02-21 14:47:02David.Edelsohnlinkissue19748 messages
2014-02-21 14:47:02David.Edelsohncreate