Message297865
| Author |
musically_ut |
| Recipients |
belopolsky, martin.panter, musically_ut, r.david.murray, serhiy.storchaka, tim.peters, vstinner |
| Date |
2017年07月07日.07:08:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1499411290.13.0.179046926116.issue30302@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|