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 ammar2
Recipients SilentGhost, ammar2, pekka.klarck
Date 2016-12-29.14:15:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483020905.84.0.518337021652.issue29097@psf.upfronthosting.co.za>
In-reply-to
Content
Can recreate successfully on windows, but not on linux:

> C:\Python36\python.exe -c "import datetime; datetime.datetime.fromtimestamp(42)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 22] Invalid argument

> C:\Python36\python.exe
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime; datetime.datetime.fromtimestamp(42)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument
History
Date User Action Args
2016-12-29 14:15:05ammar2setrecipients: + ammar2, SilentGhost, pekka.klarck
2016-12-29 14:15:05ammar2setmessageid: <1483020905.84.0.518337021652.issue29097@psf.upfronthosting.co.za>
2016-12-29 14:15:05ammar2linkissue29097 messages
2016-12-29 14:15:05ammar2create