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 vstinner
Recipients EGuesnet, Michael.Felt, vstinner
Date 2020-01-30.14:36:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580395011.41.0.0277277438532.issue39502@roundup.psfhosted.org>
In-reply-to
Content
> 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)
History
Date User Action Args
2020-01-30 14:36:51vstinnersetrecipients: + vstinner, Michael.Felt, EGuesnet
2020-01-30 14:36:51vstinnersetmessageid: <1580395011.41.0.0277277438532.issue39502@roundup.psfhosted.org>
2020-01-30 14:36:51vstinnerlinkissue39502 messages
2020-01-30 14:36:51vstinnercreate