[issue39502] test_zipfile fails on AIX due to time.localtime
STINNER Victor
report at bugs.python.org
Thu Jan 30 09:36:51 EST 2020
STINNER Victor <vstinner at python.org> added the comment:
> Probably this broke the 64-bit usage.
I'm not sure of the meaning of your patch. Are you saying that localtime() supports timestamp after the year 2038 on 64-bit AIX? Did you test that time.localtime(2**32) actually works as expected?
In my timezone, Linux, I get:
$ python3
Python 3.7.6 (default, Dec 19 2019, 22:52:49)
>>> import time; time.localtime(2**32)
time.struct_time(tm_year=2106, tm_mon=2, tm_mday=7, tm_hour=7, tm_min=28, tm_sec=16, tm_wday=6, tm_yday=38, tm_isdst=0)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39502>
_______________________________________
More information about the Python-bugs-list
mailing list