消息 [76351]
On Mon, Nov 24, 2008 at 12:34 PM, STINNER Victor <report@bugs.python.org> wrote:
..
>> I would still prefer totimestamp()->(int, int) returning (sec, usec)
>> tuple. The important benefit is that such totimestamp() will not
>> loose information
>
> Right, I prefer your solution ;-)
>
Great! What do you think about extending fromtimestamp(timestamp[,
tz]) and utcfromtimestamp(timestamp) to accept a tuple for the
timestamp?
Also, are you motivated enough to bring this up on python-dev to get a
community and BDFL blessings? I think this has a chance to be
approved. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2008-11-24 18:07:45 | belopolsky | 修改 | recipients:
+ belopolsky, tebeka, davidfraser, andersjm, vstinner, werneck, hodgestar, Neil Muller |
| 2008-11-24 18:07:44 | belopolsky | 链接 | issue2736 messages |
| 2008-11-24 18:07:44 | belopolsky | 创建 | |
|