[issue11188] test_time error on AIX
Alexander Belopolsky
report at bugs.python.org
Tue Feb 15 17:13:24 CET 2011
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
Sébastien,
Can you tell us what time.localtime(t) produces for t in (-2, -1, 0, 1)? Apparently time.mktime() fails on values produced by time.localtime() and this sounds like a platform bug. It is OK to restrict time_t to positive values, but in this case time.localtime(t) should reject t < 0.
If there is a Python issue here, it is likely to be in error detection in time.localtime().
Also, what is your timezone?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11188>
_______________________________________
More information about the Python-bugs-list
mailing list