Mark Dickinson <dicki...@gmail.com> added the comment:

The latest patch has the disadvantage that it'll often change the behaviour of 
jumpahead for people on 32-bit platforms, which may lead to unnecessary 
breakage.

Here's a better version that only fixes mt[0] in the unlikely (but possible) 
event that mt[1] through mt[623] are all zero.  That should mean that users on 
32-bit machines who are depending on jumpahead being reproducible won't notice 
(unless they're very unlucky indeed).

----------
Added file: http://bugs.python.org/file25268/random_jumpahead_3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14591>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to