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 aconrad, belopolsky, larry, mark.dickinson, python-dev, r.david.murray, tbarbugli, tim.peters, trcarden, vivanov, vstinner
Date 2015-09-04.08:53:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441356789.18.0.766937367536.issue23517@psf.upfronthosting.co.za>
In-reply-to
Content
Backport to Python 3.4 splitted in 3 patches:

* (1) timedelta_round_half_up_py34.patch, backport changeset 0eb8c182131e: "datetime.timedelta constructor now rounds microseconds to nearest with ties going away from zero (ROUND_HALF_UP)".

* (2) round_half_up.patch: add _PyTime_ROUND_HALF_UP rounding mode to the _PyTime API

* (3) fromtimestamp_round_half_up.patch, backport changeset bf634dfe076f: "fromtimestamp() and utcfromtimestamp() methods of datetime.datetime now round microseconds to nearest with ties going away from zero (ROUND_HALF_UP)"
History
Date User Action Args
2015-09-04 08:53:09vstinnersetrecipients: + vstinner, tim.peters, mark.dickinson, belopolsky, larry, r.david.murray, aconrad, vivanov, python-dev, tbarbugli, trcarden
2015-09-04 08:53:09vstinnersetmessageid: <1441356789.18.0.766937367536.issue23517@psf.upfronthosting.co.za>
2015-09-04 08:53:09vstinnerlinkissue23517 messages
2015-09-04 08:53:09vstinnercreate