Message 267910 - Python tracker

Message267910

Author vstinner
Recipients christian.heimes, dstufft, vstinner
Date 2016-06-08.22:16:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465424217.02.0.808932777634.issue27272@psf.upfronthosting.co.za>
In-reply-to
Content
Donald Stufft proposed the patch no-urandom-by-default.diff in the issue #26839 which replaces os.urandom() with int(time.time()*256) in random.Random constructor.

I dislike this change because it becomes more likely that two Python processes produce the same random number sequence:
https://bugs.python.org/issue26839#msg267819
History
Date User Action Args
2016-06-08 22:16:57vstinnersetrecipients: + vstinner, christian.heimes, dstufft
2016-06-08 22:16:57vstinnersetmessageid: <1465424217.02.0.808932777634.issue27272@psf.upfronthosting.co.za>
2016-06-08 22:16:57vstinnerlinkissue27272 messages
2016-06-08 22:16:56vstinnercreate