Eryk Sun added the comment:
The supported range depends on the platform. The C runtime library in Windows
can handle dates through the year 3000 [1]:
>>> datetime.fromtimestamp(3253679)
datetime.datetime(3001, 1, 19, 7, 59, 59)
>>> datetime.fromtimestamp(3253680)
New submission from Jan Ripke :
When executing the following statement on a Windows machine it fails.
On a linux machine it returns the expected date (-31-12 00:00:00)
The Error we get on Windows is:
OSError: [Errno 22] Invalid argument
In another manor it was reported before: