[issue5588] Add --randseed to regrtest

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Should this get a Misc/NEWS entry? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Collin Winter
Collin Winter added the comment: Committed as r70672 (trunk) and r70673 (py3k). Thanks for the quick review. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 here too. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Collin Winter
Changes by Collin Winter : Removed file: http://bugs.python.org/file13446/randseed.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Collin Winter
Collin Winter added the comment: The "if rand_seed:" bit was a relic from a previous iteration; fixed. The only reason I didn't use randrange() is that I didn't see it; fixed. -- Added file: http://bugs.python.org/file13448/randseed.patch ___ Python

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Mark Dickinson
Mark Dickinson added the comment: +1 on the idea. I'm not sure I understand the patch, though. If the line: random_seed = int(100 * random.random()) produces a random_seed of 0 (or if randseed=0 is supplied as an option), it looks as though random.seed is never called; is this intentio

[issue5588] Add --randseed to regrtest

2009-03-28 Thread Collin Winter
New submission from Collin Winter : Add the ability to control the random seed used by regrtest.py -r. This patch adds a --randseed option, and makes regrtest.py -r indicate what random seed it's using so that that value can later be fed back to --randseed. This option is useful for tracking down