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 bdkearns, belopolsky, benjamin.peterson
Date 2015-02-25.17:22:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424884948.98.0.965076108938.issue23521@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch fixes the issue, but produces a slightly different result:

>>> timedelta(seconds=1)*0.6112295
datetime.timedelta(0, 0, 611230)

Note that C implementation is probably buggy:

>>> from datetime import *
>>> timedelta(seconds=1)*0.6112295
datetime.timedelta(0, 0, 611229)
>>> timedelta(seconds=0.6112295)
datetime.timedelta(0, 0, 611230)

See msg194311  in #8860.
History
Date User Action Args
2015-02-25 17:22:29belopolskysetrecipients: + belopolsky, benjamin.peterson, bdkearns
2015-02-25 17:22:28belopolskysetmessageid: <1424884948.98.0.965076108938.issue23521@psf.upfronthosting.co.za>
2015-02-25 17:22:28belopolskylinkissue23521 messages
2015-02-25 17:22:28belopolskycreate