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 belopolsky
Recipients aconrad, belopolsky, larry, mark.dickinson, python-dev, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner
Date 2015-09-04.17:23:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441387399.42.0.0538482317678.issue23517@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like this patch violates fromtimestamp(s) == EPOCH + timedelta(seconds=s) invariant:

Python 3.6.0a0 (default:73911e6c97c8, Sep  4 2015, 13:14:12)
>>> E = datetime(1970,1,1,tzinfo=timezone.utc)
>>> s = -1/2**7
>>> datetime.fromtimestamp(s, timezone.utc) == E + timedelta(seconds=s)
False
History
Date User Action Args
2015-09-04 17:23:19belopolskysetrecipients: + belopolsky, tim.peters, mark.dickinson, vstinner, larry, r.david.murray, aconrad, vivanov, python-dev, tbarbugli, trcarden
2015-09-04 17:23:19belopolskysetmessageid: <1441387399.42.0.0538482317678.issue23517@psf.upfronthosting.co.za>
2015-09-04 17:23:19belopolskylinkissue23517 messages
2015-09-04 17:23:19belopolskycreate