This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients glyph, rhettinger
Date 2016-08-08.01:37:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the bug report.  This is a case of something that used to work fine but was affected by an incidental change elsewhere.   

To support the use case for deterministic sequences of values starting from a known point, the docs promise, "If a new seeding method is added, then a backward compatible seeder will be offered. The generator’s random() method will continue to produce the same sequence when the compatible seeder is given the same seed." (See )

The resolution is to have the random module (line 327 in Modules/_randommodule.c) use a new _PyObject_Hash() function that deterministically matches what the old PyObject_Hash() function used to do.

Marking this as "needs patch" and saving it for Nofar Schnider to work on (she's an aspiring core dev).
Date User Action Args
2016-08-08 01:37:51rhettingersetrecipients: + rhettinger, glyph
2016-08-08 01:37:51rhettingersetmessageid: <>
2016-08-08 01:37:51rhettingerlinkissue27706 messages
2016-08-08 01:37:50rhettingercreate