homepage

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 vstinner
Recipients belopolsky, martin.panter, musically_ut, serhiy.storchaka, vstinner
Date 2017年06月27日.15:38:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498577929.45.0.738904072057.issue30302@psf.upfronthosting.co.za>
In-reply-to
Content
What is your favorite repr() for datetime.timedelta(seconds=0)?
Since it's hard to decide which unit is the best, I suggest to not write any unit: either "datetime.timedelta(0)" or "datetime.timedelta()" is fine with me.
In fact, "datetime.timedelta(seconds=0)" is also ok, since seconds is the most common unit, no?
(Ok, to be honest, I don't really care. But I wanted to have a discussion on this issue ;-))
History
Date User Action Args
2017年06月27日 15:38:49vstinnersetrecipients: + vstinner, belopolsky, martin.panter, serhiy.storchaka, musically_ut
2017年06月27日 15:38:49vstinnersetmessageid: <1498577929.45.0.738904072057.issue30302@psf.upfronthosting.co.za>
2017年06月27日 15:38:49vstinnerlinkissue30302 messages
2017年06月27日 15:38:49vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /