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 mark.dickinson
Recipients Francis.Nimick, alexd2, docs@python, eric.smith, mark.dickinson, r.david.murray, terry.reedy
Date 2013-12-14.08:42:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387010554.1.0.0434731375302.issue17259@psf.upfronthosting.co.za>
In-reply-to
Content
And the Python 2 behaviour has been essentially unchanged for a long time:

Python 2.4.6 (#1, Nov  7 2013, 16:01:20) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "%.f %.f" % (0.5, 1.5)
'0 2'
>>> round(0.5), round(1.5)
(1.0, 2.0)

(Though that first call just shows the result of whatever the OS C libraries decide to do, but historically that seems to be more likely to be round-half-to-even than anything else.)
History
Date User Action Args
2013-12-14 08:42:34mark.dickinsonsetrecipients: + mark.dickinson, terry.reedy, eric.smith, r.david.murray, docs@python, Francis.Nimick, alexd2
2013-12-14 08:42:34mark.dickinsonsetmessageid: <1387010554.1.0.0434731375302.issue17259@psf.upfronthosting.co.za>
2013-12-14 08:42:34mark.dickinsonlinkissue17259 messages
2013-12-14 08:42:33mark.dickinsoncreate