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, Dormouse759, hroncok, vstinner
Date 2020-01-29.01:21:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580260865.95.0.486767936198.issue39460@roundup.psfhosted.org>
In-reply-to
Content
$ ./python
Python 3.9.0a3+ (heads/master:aabdeb766b, Jan 28 2020, 13:50:48) 
[GCC 10.0.1 20200121 (Red Hat 10.0.1-0.4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.localtime(2**31)
time.struct_time(tm_year=2038, tm_mon=1, tm_mday=18, tm_hour=22, tm_min=14, tm_sec=8, tm_wday=0, tm_yday=18, tm_isdst=0)
>>> time.localtime(2**31-3600*24)
time.struct_time(tm_year=2038, tm_mon=1, tm_mday=17, tm_hour=22, tm_min=14, tm_sec=8, tm_wday=6, tm_yday=17, tm_isdst=0)
>>> time.localtime(2**32)
time.struct_time(tm_year=2106, tm_mon=2, tm_mday=7, tm_hour=1, tm_min=28, tm_sec=16, tm_wday=6, tm_yday=38, tm_isdst=0)
>>> time.localtime(2**33)
time.struct_time(tm_year=2242, tm_mon=3, tm_mday=16, tm_hour=8, tm_min=56, tm_sec=32, tm_wday=2, tm_yday=75, tm_isdst=1)
History
Date User Action Args
2020-01-29 01:21:06David.Edelsohnsetrecipients: + David.Edelsohn, vstinner, hroncok, Dormouse759
2020-01-29 01:21:05David.Edelsohnsetmessageid: <1580260865.95.0.486767936198.issue39460@roundup.psfhosted.org>
2020-01-29 01:21:05David.Edelsohnlinkissue39460 messages
2020-01-29 01:21:05David.Edelsohncreate