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, vstinner
Date 2012-04-19.06:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334818471.59.0.443763064726.issue14591@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2012-04-19 06:54:31mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, vstinner, serhiy.storchaka, Dave.Reid
2012-04-19 06:54:31mark.dickinsonsetmessageid: <1334818471.59.0.443763064726.issue14591@psf.upfronthosting.co.za>
2012-04-19 06:54:30mark.dickinsonlinkissue14591 messages
2012-04-19 06:54:30mark.dickinsoncreate