Spencer Brown <[email protected]> added the comment:

This is intentional behaviour, if the value is 5 it rounds towards even as 
documented here: https://docs.python.org/3/library/functions.html#round
The reason is so that if you have a bunch of random data, rounding won't 
slightly bias the result upward or downward.

----------
nosy: +Spencer Brown

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46467>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to