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 serhiy.storchaka
Recipients eng793, r.david.murray, rhettinger, serhiy.storchaka
Date 2012-09-03.23:04:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <201209040204.04505.storchaka@gmail.com>
In-reply-to <1346712956.3.0.326893344799.issue15837@psf.upfronthosting.co.za>
Content
> This could be because of the many tests of whether the 2nd argument is None
> in the loop.

This is because Random._randbelow (and therefore randrange, randint) is 
relatively slow.
History
Date User Action Args
2012-09-03 23:04:20serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, r.david.murray, eng793
2012-09-03 23:04:19serhiy.storchakalinkissue15837 messages
2012-09-03 23:04:19serhiy.storchakacreate