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 belopolsky
Recipients aconrad, belopolsky, larry, mark.dickinson, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner
Date 2015年08月28日.22:19:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440800347.68.0.171068977028.issue23517@psf.upfronthosting.co.za>
In-reply-to
Content
I probably misremembered a different issue. See msg194311.
>>> timedelta(seconds=0.6112295) == timedelta(seconds=1)*0.6112295
False
I thought the problem there was that the same float was converted to one decimal by str() and to a different decimal by timedelta. But now it looks like it was something else.
Does your algorithm guarantee that any float that is displayed with 6 decimal places or less will convert to a datetime or timedelta with microseconds matching the fractional part?
History
Date User Action Args
2015年08月28日 22:19:07belopolskysetrecipients: + belopolsky, tim.peters, mark.dickinson, vstinner, larry, r.david.murray, aconrad, vivanov, tbarbugli, trcarden
2015年08月28日 22:19:07belopolskysetmessageid: <1440800347.68.0.171068977028.issue23517@psf.upfronthosting.co.za>
2015年08月28日 22:19:07belopolskylinkissue23517 messages
2015年08月28日 22:19:07belopolskycreate

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