[issue19748] test_time failures on AIX

David Edelsohn report at bugs.python.org
Fri Feb 21 15:47:02 CET 2014


David Edelsohn added the comment:

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

----------

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


More information about the Python-bugs-list mailing list