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 cephalo
Recipients cephalo, rhettinger
Date 2007-12-29.17:40:46
SpamBayes Score 0.22610468
Marked as misclassified No
Message-id <1198950046.7.0.163279301658.issue1704@psf.upfronthosting.co.za>
In-reply-to
Content
What was happening before was I was getting an index out of range error 
every so often, so then I put in the ValueError catch to see what was 
going on. I was surprised to see that randIndex was the same as len
(preshuffle). I have some further catches in place now that might tell 
me more. It must have to do with deleting items from the list in the 
loop and not getting the right length from len immediately after, but 
then again I use this algorithm in several places in my module with no 
trouble, though with smaller lists. Go ahead and close this, and when I 
have more information I can open it some other time. This bug I'm 
seeing is extremely intermittant.
History
Date User Action Args
2007-12-29 17:40:46cephalosetspambayes_score: 0.226105 -> 0.22610468
recipients: + cephalo, rhettinger
2007-12-29 17:40:46cephalosetspambayes_score: 0.226105 -> 0.226105
messageid: <1198950046.7.0.163279301658.issue1704@psf.upfronthosting.co.za>
2007-12-29 17:40:46cephalolinkissue1704 messages
2007-12-29 17:40:46cephalocreate