Author johnnyd
Recipients johnnyd
Date 2018-01-15.09:08:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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. (

This is very confusing, I hope you can fix the behavior, not the doc string.
Date User Action Args
2018-01-15 09:08:22johnnydsetrecipients: + johnnyd
2018-01-15 09:08:22johnnydsetmessageid: <>
2018-01-15 09:08:22johnnydlinkissue32554 messages
2018-01-15 09:08:21johnnydcreate