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 jab
Recipients MJH, ezio.melotti, jab, jyasskin, mark.dickinson, serhiy.storchaka, tim.peters, vstinner
Date 2018-09-26.12:10:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537963803.9.0.545547206417.issue32956@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks, Mark. Yes, I saw where Tim said round-half-even should be the default, but I didn't see any proposal to expose it as e.g. math.round_half_even() instead, nor a more complete look at what other languages do. That, along with the subject being 2.6 and not 3, made me think this change in Python 3 must have been discussed more fully elsewhere. Was it not?

And I agree -- nowhere have I been proposing changing "round" again. My proposals have been:

1. Update the round() docs to make the documentation of this behavior less buried,
2. include a (brief) justification (possibly even just a link to http://wiki.c2.com/?BankersRounding or some more-authoritative document), and
3. link to where else this change in Python 3 was discussed more, if anywhere, or else confirm this change was made based on no additional analysis that we can find written down.

It'd also be interesting to hear if this is something we wish we'd done differently now, but that shouldn't distract from 1, 2, and 3.
History
Date User Action Args
2018-09-26 12:10:03jabsetrecipients: + jab, tim.peters, mark.dickinson, vstinner, jyasskin, ezio.melotti, serhiy.storchaka, MJH
2018-09-26 12:10:03jabsetmessageid: <1537963803.9.0.545547206417.issue32956@psf.upfronthosting.co.za>
2018-09-26 12:10:03jablinkissue32956 messages
2018-09-26 12:10:03jabcreate