New submission from Johnny Dude <johnny.d...@gmail.com>: When using a tuple that include a string the results are not consistent when invoking a new interpreter or process.
For example executing the following on a linux machine will yield different results: python3.6 -c 'import random; random.seed(("a", 1)); print(random.random())" Please note that the doc string of random.seed states: "Initialize internal state from hashable object." Python documentation does not. (https://docs.python.org/3.6/library/random.html#random.seed) This is very confusing, I hope you can fix the behavior, not the doc string. ---------- components: Extension Modules messages: 309956 nosy: JohnnyD priority: normal severity: normal status: open title: random seed is not consistent when using tuples with a str element type: behavior versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32554> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com