New submission from darkman66 <agaih...@gmail.com>:
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 ---------- components: C API messages: 366944 nosy: darkman66 priority: normal severity: normal status: open title: OverflowError: mktime argument out of range type: crash versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com