Message246550
As I wrote, glib switch from floats to integers to generate random
numbers. To provide reproductible "random" numbers, an environment
variable was added to select the old PRNG.
Anyway, if we modify random.py, the generated numbers should be different, no?
To me, it's always a strange concept of having reproductible "random"
numbers :-) But I understand the use case. For example, to run a test
suite, we want randomization and to be able to replay a test suite in
the same order. |
|
Date |
User |
Action |
Args |
2015-07-10 08:35:36 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, mark.dickinson, pitrou, steven.daprano, r.david.murray, skrah, serhiy.storchaka, Serge Anuchin |
2015-07-10 08:35:36 | vstinner | link | issue24567 messages |
2015-07-10 08:35:36 | vstinner | create | |
|