[issue24567] random.choice IndexError due to double-rounding

Serhiy Storchaka report at bugs.python.org
Sun Jul 12 15:31:39 CEST 2015


Serhiy Storchaka added the comment:

I'm aware of issue 23974. But I want to say that double rounding causes not only bias from ideal distribution, but a difference between platforms. The result of sample() (with the same seed) can vary between platforms.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24567>
_______________________________________


More information about the Python-bugs-list mailing list