➜

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.

作者 mark.dickinson
收信人 belopolsky, mark.dickinson, rhettinger, vstinner
日期 2010-06-18.15:01:01
SpamBayes Score 0.11636946
Marked as misclassified 否
Message-id <1276873264.59.0.908232149298.issue9025@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-06-18 15:01:04mark.dickinson修改recipients: + mark.dickinson, rhettinger, belopolsky, vstinner
2010-06-18 15:01:04mark.dickinson修改messageid: <1276873264.59.0.908232149298.issue9025@psf.upfronthosting.co.za>
2010-06-18 15:01:03mark.dickinson链接issue9025 messages
2010-06-18 15:01:02mark.dickinson创建