Message76351
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. |
|
Date |
User |
Action |
Args |
2008-11-24 18:07:45 | belopolsky | set | recipients:
+ belopolsky, tebeka, davidfraser, andersjm, vstinner, werneck, hodgestar, Neil Muller |
2008-11-24 18:07:44 | belopolsky | link | issue2736 messages |
2008-11-24 18:07:44 | belopolsky | create | |
|