[issue24546] sequence index bug in random.choice
Steven D'Aprano
report at bugs.python.org
Thu Jul 2 16:28:08 CEST 2015
Steven D'Aprano added the comment:
On Thu, Jul 02, 2015 at 04:05:45AM +0000, Tim Peters wrote:
> Very surprising! Which platform & Python is that?
Python 2.7.2 (default, May 18 2012, 18:25:10)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
I get the same result on Python 2.6 and 3.3, but *not* using Jython or
IronPython. Both of those run to completion.
Don't you love floating point mysteries? I cannot imagine how confusing
it was back in the dark ages pre-IEEE 754.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24546>
_______________________________________
More information about the Python-bugs-list
mailing list