Message369903
You seem to have read the docs, so I'm a bit confused why you think that is a bug. According to https://docs.python.org/3/library/datetime.html#datetime.datetime.fromtimestamp
> fromtimestamp() may raise OverflowError, if the timestamp is out of the range of values supported by the platform C localtime() or gmtime() functions, and OSError on localtime() or gmtime() failure.
This looks exactly like this type of error. It is completely irrelevant whether Windows supports a timestamp this far in the future, clearly platform's localtime() / gmtime() do not. Constructing datetime object in Python does not require such system calls and their limitations no longer apply. |
|
| Date |
User |
Action |
Args |
| 2020-05-25 18:18:28 | SilentGhost | set | recipients:
+ SilentGhost, belopolsky, jamercee, p-ganssle |
| 2020-05-25 18:18:28 | SilentGhost | set | messageid: <1590430708.78.0.765752282395.issue40771@roundup.psfhosted.org> |
| 2020-05-25 18:18:28 | SilentGhost | link | issue40771 messages |
| 2020-05-25 18:18:28 | SilentGhost | create | |
|