This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Dave.Reid, mark.dickinson, rhettinger, serhiy.storchaka
Date 2012-04-16.16:00:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334592024.42.0.266207196919.issue14591@psf.upfronthosting.co.za>
In-reply-to
Content
Patch looks good to me.

There's one other subtle bug in random_jumpahead, which is that it's not guaranteed that the resulting state is nonzero.  The way to fix this is to add a line like the one near the end of the 'init_by_array' function.

mt[0] = 0x80000000UL; /* MSB is 1; assuring non-zero initial array */
History
Date User Action Args
2012-04-16 16:00:24mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, serhiy.storchaka, Dave.Reid
2012-04-16 16:00:24mark.dickinsonsetmessageid: <1334592024.42.0.266207196919.issue14591@psf.upfronthosting.co.za>
2012-04-16 16:00:19mark.dickinsonlinkissue14591 messages
2012-04-16 16:00:19mark.dickinsoncreate