消息 [80797]
> But negative time_t are still not allowed by the Microsoft CRT,
> the tests fail.
> (...)
> is this a bug or a feature request?
Linux mktime() supports any timestamp from 1901..2038. Should we limit
the timestamp to 1970 just because of Microsoft? Test tm_wday fixes a
bug on Linux and doesn't change the behaviour on Windows. So the
problem is just the unit test: the test should be different on Windows
(make sure that -1 raises an error). |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-01-29 23:48:40 | vstinner | 修改 | recipients:
+ vstinner, loewis, amaury.forgeotdarc, blais |
| 2009-01-29 23:48:39 | vstinner | 修改 | messageid: <1233272919.67.0.876686193801.issue1726687@psf.upfronthosting.co.za> |
| 2009-01-29 23:48:38 | vstinner | 链接 | issue1726687 messages |
| 2009-01-29 23:48:38 | vstinner | 创建 | |
|