Joshua Bronson <jabron...@gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32956>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to