This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David.Edelsohn
Recipients David.Edelsohn, serhiy.storchaka, vstinner
Date 2014-02-21.03:12:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392952354.6.0.477764451775.issue19748@psf.upfronthosting.co.za>
In-reply-to
Content
With the latest patch, test_time passes.

>>> time.mktime((-100, 1, 10) + (0,)*6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: mktime argument out of range
>>> time.mktime((-100, 1, 10) + (0,)*6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: mktime argument out of range
>>> time.mktime((1900, 1, 10) + (0,)*6)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: mktime argument out of range
>>> time.mktime((1930, 1, 10) + (0,)*6)
-1261497600.0
>>> time.mktime((1969,12,31, 23,59,59, 0,0,0))
28799.0
History
Date User Action Args
2014-02-21 03:12:34David.Edelsohnsetrecipients: + David.Edelsohn, vstinner, serhiy.storchaka
2014-02-21 03:12:34David.Edelsohnsetmessageid: <1392952354.6.0.477764451775.issue19748@psf.upfronthosting.co.za>
2014-02-21 03:12:34David.Edelsohnlinkissue19748 messages
2014-02-21 03:12:34David.Edelsohncreate