This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
History
Date User Action Args
2017-07-07 07:08:10musically_utsetrecipients: + musically_ut, tim.peters, belopolsky, vstinner, r.david.murray, martin.panter, serhiy.storchaka
2017-07-07 07:08:10musically_utsetmessageid: <1499411290.13.0.179046926116.issue30302@psf.upfronthosting.co.za>
2017-07-07 07:08:10musically_utlinkissue30302 messages
2017-07-07 07:08:09musically_utcreate