Author terry.reedy
Recipients mattchaput, rhettinger, terry.reedy, vstinner
Date 2011-09-16.20:32:58
SpamBayes Score 0.00021938
Marked as misclassified No
Message-id <1316205179.81.0.851873281265.issue12986@psf.upfronthosting.co.za>
In-reply-to
Content
You could help this along by both running Lib.test.test_uuid with your patch applied and reporting that it passes.

Raymond, I added you because this is about changing random functions.

Side note: This code in test_uuid.test_uuid4()

        uuids = {}
        for u in [uuid.uuid4() for i in range(1000)]:
            uuids[u] = 1
        equal(len(uuids.keys()), 1000)

could be updated to use sets rather than a fake dict:

        uuids = set()
        for u in [uuid.uuid4() for i in range(1000)]:
            uuids.add(u)
        equal(len(uuids), 1000)
History
Date User Action Args
2011-09-16 20:32:59terry.reedysetrecipients: + terry.reedy, rhettinger, vstinner, mattchaput
2011-09-16 20:32:59terry.reedysetmessageid: <1316205179.81.0.851873281265.issue12986@psf.upfronthosting.co.za>
2011-09-16 20:32:59terry.reedylinkissue12986 messages
2011-09-16 20:32:58terry.reedycreate