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 lazka
Recipients lazka
Date 2017-06-16.12:55:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497617721.62.0.607742264893.issue30684@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this is a bug since the docs says raising OSError is allowed, but it looks weird to me.

On Windows.

Using Python 3.4:

>>> datetime.datetime.fromtimestamp(0)
datetime.datetime(1970, 1, 1, 1, 0)

Using Python 3.6.1:

>>> datetime.datetime.fromtimestamp(0)
OSError: [Errno 22] Invalid argument

The first time stamp which works with 3.6 is 86400, so exactly the next day.
History
Date User Action Args
2017-06-16 12:55:21lazkasetrecipients: + lazka
2017-06-16 12:55:21lazkasetmessageid: <1497617721.62.0.607742264893.issue30684@psf.upfronthosting.co.za>
2017-06-16 12:55:21lazkalinkissue30684 messages
2017-06-16 12:55:21lazkacreate