STINNER Victor added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24567> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com