[issue24567] random.choice IndexError due to double-rounding
Serhiy Storchaka
report at bugs.python.org
Thu Sep 22 02:48:31 EDT 2016
Serhiy Storchaka added the comment:
> I'll write that as "'i == n and n > 0" which reads better and runs faster in the common case (look at the disassembly of each).
issue27236
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24567>
_______________________________________
More information about the Python-bugs-list
mailing list