Message297865
Bump!
----
> >>> time.gmtime(1121871596)[:]
> (2005, 7, 20, 14, 59, 56, 2, 201, 0)
I wouldn't mind implementing `__getitem__` for timedeltas, such that this becomes possible:
>> (D.fromtimestamp(1390953543.1) - D.fromtimestamp(1121871596))[:]
(3114, 28747, 100000)
(Though, TBH, it does feel a little weird that `time.struct_time` allows indexing).
~
ut |
|
Date |
User |
Action |
Args |
2017-07-07 07:08:10 | musically_ut | set | recipients:
+ musically_ut, tim.peters, belopolsky, vstinner, r.david.murray, martin.panter, serhiy.storchaka |
2017-07-07 07:08:10 | musically_ut | set | messageid: <1499411290.13.0.179046926116.issue30302@psf.upfronthosting.co.za> |
2017-07-07 07:08:10 | musically_ut | link | issue30302 messages |
2017-07-07 07:08:09 | musically_ut | create | |
|