Author mark.dickinson
Recipients belopolsky, mark.dickinson, rhettinger, vstinner
Date 2010-06-18.15:01:01
SpamBayes Score 0.116369
Marked as misclassified No
Message-id <>
Here's a more careful Python-only patch that fixes the bias in randrange and randint (but not in shuffle, choice or sample).  It should work well both for Mersenne Twister and for subclasses of Random that use a poorer PRNG with badly-behaved low-order bits.
Date User Action Args
2010-06-18 15:01:04mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, belopolsky, vstinner
2010-06-18 15:01:04mark.dickinsonsetmessageid: <>
2010-06-18 15:01:03mark.dickinsonlinkissue9025 messages
2010-06-18 15:01:02mark.dickinsoncreate