[issue24567] random.choice IndexError due to double-rounding
Serhiy Storchaka
report at bugs.python.org
Sun Jul 12 06:04:31 CEST 2015
Serhiy Storchaka added the comment:
For shuffle I would write "if j < i".
I think 3.x should be fixed as well as 2.7. And I like Tim's suggestion about import-time patching.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24567>
_______________________________________
More information about the Python-bugs-list
mailing list