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 vstinner
Recipients alex, benjamin.peterson, christian.heimes, dstufft, giampaolo.rodola, janssen, josh.r, ncoghlan, neologix, tshepang, vstinner
Date 2014-04-28.21:51:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398721919.68.0.108868854694.issue21305@psf.upfronthosting.co.za>
In-reply-to
Content
Please don't backport this "feature". We had to wait 20 years before someone requested the feature, but only a few months before the first user reported an issue ("regression"?).

IMO it would be much better to use explicitly a random.SystemRandom instance which would keep the fd open, and only use it if you hit the bug (*many* threads calling os.urandom in parallel.
History
Date User Action Args
2014-04-28 21:51:59vstinnersetrecipients: + vstinner, ncoghlan, janssen, giampaolo.rodola, christian.heimes, benjamin.peterson, alex, neologix, tshepang, dstufft, josh.r
2014-04-28 21:51:59vstinnersetmessageid: <1398721919.68.0.108868854694.issue21305@psf.upfronthosting.co.za>
2014-04-28 21:51:59vstinnerlinkissue21305 messages
2014-04-28 21:51:59vstinnercreate