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 darkman66
Recipients darkman66
Date 2020-04-21.21:42:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587505343.63.0.318003481208.issue40356@roundup.psfhosted.org>
In-reply-to
Content
example test

import time, pickle

d=pickle.loads(b'\x80\x03ctime\nstruct_time\nq\x00(M\xe4\x07K\x04K\x10K\x13K\x0cK#K\x03KkK\x01tq\x01}q\x02(X\x07\x00\x00\x00tm_zoneq\x03NX\t\x00\x00\x00tm_gmtoffq\x04Nu\x86q\x05Rq\x06.')
time.mktime(d)

on macox python compiled via brew 
Python 3.7.3 (default, Mar  6 2020, 22:34:30)
Type "copyright", "credits" or "license" for more information.

IPython 5.3.0 -- An enhanced Interactive Python.

all good, result -> Out[3]: 1587064355.0

in docker installed out of official deb (ubuntu 9.10)

Python 3.7.5 (default, Nov 20 2019, 09:21:52)
Type "copyright", "credits" or "license" for more information.
IPython 5.3.0 -- An enhanced Interactive Python.


In [5]: time.mktime(d)
---------------------------------------------------------------------------
OverflowError                             Traceback (most recent call last)
<ipython-input-5-b475bfddba64> in <module>()
----> 1 time.mktime(d)

OverflowError: mktime argument out of range
History
Date User Action Args
2020-04-21 21:42:23darkman66setrecipients: + darkman66
2020-04-21 21:42:23darkman66setmessageid: <1587505343.63.0.318003481208.issue40356@roundup.psfhosted.org>
2020-04-21 21:42:23darkman66linkissue40356 messages
2020-04-21 21:42:23darkman66create