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 martin.panter
Recipients Anders.Hovmöller, Arfrever, Elvis.Pranskevichus, Eric.Hanchrow, Roman.Evstifeev, SilentGhost, aymeric.augustin, barry, belopolsky, berker.peksag, cben, cvrebert, davydov, deronnax, eric.araujo, flying sheep, jcea, jstasiak, jwilk, karlcow, kirpit, larsonreever, martin.panter, mcepl, mihaic, nagle, ncoghlan, p-ganssle, pbryan, perey, piotr.dobrogost, r.david.murray, roysmith, sirex, vstinner
Date 2017年12月18日.01:37:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513561070.21.0.213398074469.issue15873@psf.upfronthosting.co.za>
In-reply-to
Content
Regarding Matthieu’s RFC 3339 parser, Victor wanted to use the round-half-to-even rule to get a whole number of microseconds. But considering the "time" class cannot represent 24:00, how do you round up in the extreme case past 23:59?
time.fromisoformat("23:59:59.9999995")
Perhaps it is better to always truncate to zero, only support 6 digits (rejecting fractions of a microsecond), or add Anders’s truncate_microseconds=True option.
History
Date User Action Args
2017年12月18日 01:37:50martin.pantersetrecipients: + martin.panter, barry, jcea, cben, roysmith, ncoghlan, belopolsky, nagle, vstinner, jwilk, mcepl, eric.araujo, Arfrever, r.david.murray, davydov, cvrebert, karlcow, SilentGhost, Elvis.Pranskevichus, perey, flying sheep, mihaic, aymeric.augustin, Roman.Evstifeev, berker.peksag, piotr.dobrogost, kirpit, Anders.Hovmöller, jstasiak, Eric.Hanchrow, deronnax, pbryan, p-ganssle, sirex, larsonreever
2017年12月18日 01:37:50martin.pantersetmessageid: <1513561070.21.0.213398074469.issue15873@psf.upfronthosting.co.za>
2017年12月18日 01:37:50martin.panterlinkissue15873 messages
2017年12月18日 01:37:49martin.pantercreate

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