[issue25155] Windows: datetime.datetime.now() raises an OverflowError for date after year 2038

Petter S report at bugs.python.org
Mon Jun 25 13:52:07 EDT 2018


Petter S <petter.strandmark at gmail.com> added the comment:

I get this error when starting the interpreter in Windows subsystem for Linux (WSL). 

I am using Python 2.7.15rc1

$ python --version
Python 2.7.15rc1
$ python
Fatal Python error: _Py_InitializeMainInterpreter: can't initialize time                                                                                                                                          OverflowError: timestamp too large to convert to C _PyTime_t                                                                                                                                                                                                                                                                                                                                                                        Current thread 0x00007fe547231080 (most recent call first):                                                                                                                                                       Aborted (core dumped)

----------
nosy: +Petter S
versions: +Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25155>
_______________________________________


More information about the Python-bugs-list mailing list