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 belopolsky, mark.dickinson, mcherm, rhettinger, stutzbach, tim.peters, vstinner
Date 2010-05-24.20:44:40
SpamBayes Score 0.022144241
Marked as misclassified No
Message-id <AANLkTinDUroNb83AVpGisFl0IYxtcEVtsXtXO2gryTv5@mail.gmail.com>
In-reply-to <1274731139.33.0.382735390494.issue1289118@psf.upfronthosting.co.za>
Content
It looks like we have a consensus on the rounding mode.  Note, however
that timedelta constructor rounds away from zero at least on
Intel/MacOS X:

[-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

Should this be considered a bug?

For comparison,

[-10, -8, -8, -6, -6, -4, -4, -2, -2, 0, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10]

[-10, -8, -8, -6, -6, -4, -4, -2, -2, 0, 0, 2, 2, 4, 4, 6, 6, 8, 8, 10]
History
Date User Action Args
2010-05-24 20:44:41belopolskysetrecipients: + belopolsky, tim.peters, mcherm, rhettinger, mark.dickinson, vstinner, stutzbach
2010-05-24 20:44:40belopolskylinkissue1289118 messages
2010-05-24 20:44:40belopolskycreate