消息 [75918]
on Windows (with Visual Studio), mktime() also sets tm_wday only if
successful.
But negative time_t are still not allowed by the Microsoft CRT, the
tests fail.
There are workaround to this - for example python could use techniques
similar to http://robertinventor.com/software/t64/
OTOH, the docs of the time module explicitly says that dates before the
Epoch are not handled. Do you want to change this? in other words: is
this a bug or a feature request?
http://docs.python.org/library/time.html |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-11-15 22:33:48 | amaury.forgeotdarc | 修改 | recipients:
+ amaury.forgeotdarc, loewis, blais, vstinner |
| 2008-11-15 22:33:48 | amaury.forgeotdarc | 修改 | messageid: <1226788428.61.0.855216132781.issue1726687@psf.upfronthosting.co.za> |
| 2008-11-15 22:33:47 | amaury.forgeotdarc | 链接 | issue1726687 messages |
| 2008-11-15 22:33:46 | amaury.forgeotdarc | 创建 | |
|