Author vstinner
Recipients pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2017-04-14.13:30:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Why does _get_candidate_names() need a lock? Can't we produce enough entropy to reduce the risk of duplicate names in two threads? Maybe we should use SystemRandom instead, which would also avoid the need to testing if the pid changed.

With one generator per thread, it would prevent the bug no?
Date User Action Args
2017-04-14 13:30:51vstinnersetrecipients: + vstinner, rhettinger, pitrou, serhiy.storchaka
2017-04-14 13:30:51vstinnersetmessageid: <>
2017-04-14 13:30:51vstinnerlinkissue30030 messages
2017-04-14 13:30:50vstinnercreate