Message296191
| 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:21 | lazka | set | recipients:
+ lazka |
| 2017年06月16日 12:55:21 | lazka | set | messageid: <1497617721.62.0.607742264893.issue30684@psf.upfronthosting.co.za> |
| 2017年06月16日 12:55:21 | lazka | link | issue30684 messages |
| 2017年06月16日 12:55:21 | lazka | create |
|