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 glyph
Recipients Lukasa, Nofar Schnider, glyph, rhettinger, terry.reedy, vstinner
Date 2016-08-17.17:29:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471454995.51.0.226701031418.issue27706@psf.upfronthosting.co.za>
In-reply-to
Content
It does seem to be stable on python 3, but on python 2.7 it's definitely a problem:

$ python -Rc "import random; r=random.Random('abc'); print(''.join(map(str, (r.randrange(10) for x in range(10)))), hash('abc'))"
('9553343809', -1972659830997666042)
$ python -Rc "import random; r=random.Random('abc'); print(''.join(map(str, (r.randrange(10) for x in range(10)))), hash('abc'))"
('5519010739', 5520208254012363023)
$ python -Rc "import random; r=random.Random('abc'); print(''.join(map(str, (r.randrange(10) for x in range(10)))), hash('abc'))"
('7519888435', 3560222494758569319)
$ python -Rc "import random; r=random.Random('abc'); print(''.join(map(str, (r.randrange(10) for x in range(10)))), hash('abc'))"
('9612648103', 4134882069837806740)
History
Date User Action Args
2016-08-17 17:29:55glyphsetrecipients: + glyph, rhettinger, terry.reedy, vstinner, Lukasa, Nofar Schnider
2016-08-17 17:29:55glyphsetmessageid: <1471454995.51.0.226701031418.issue27706@psf.upfronthosting.co.za>
2016-08-17 17:29:55glyphlinkissue27706 messages
2016-08-17 17:29:55glyphcreate