Message246049
| Author |
trcarden |
| Recipients |
belopolsky, ethan.furman, mark.dickinson, r.david.murray, tbarbugli, trcarden, vstinner |
| Date |
2015年07月01日.23:31:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1435793515.99.0.243965909617.issue23517@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
We are seeing this behavior influencing other libraries in python 3.4.
This should never fail if timestamp and fromtimestamp are implemented correctly:
from datetime import datetime
t = datetime.utcnow().timestamp()
t2 = datetime.utcfromtimestamp(t)
assert t == t2, 'Moving from timestamp and back should always work' |
|