Mark Dickinson <dicki...@gmail.com> added the comment: Here's a modification of Serhiy's patch that assures that the new state is nonzero.
(Just to clarify the nonzero requirement: the MT state is formed from bit 31 of mt[0] together with all the bits of mt[i], 1 <= i < 624. At least one of these 19937 bits must be nonzero.) ---------- Added file: http://bugs.python.org/file25267/random_jumpahead_2.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