Author serhiy.storchaka
Recipients mattchaput, rhettinger, serhiy.storchaka, terry.reedy, vstinner
Date 2012-04-07.17:56:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>         uuids = set()
>         for u in [uuid.uuid4() for i in range(1000)]:
>             uuids.add(u)

        uuids = {uuid.uuid4() for i in range(1000)}

However, I'm not sure of the legitimacy of replacement suitable for cryptographic use `os.urandom` on fast pseudo-random `random.getrandbits`. Especially for applications that need to generate a lot of uuids.
Date User Action Args
2012-04-07 17:56:04serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, terry.reedy, vstinner, mattchaput
2012-04-07 17:56:04serhiy.storchakasetmessageid: <>
2012-04-07 17:56:03serhiy.storchakalinkissue12986 messages
2012-04-07 17:56:03serhiy.storchakacreate