Interesting problem about uuid1
sword
john.37 at gmail.com
Mon Nov 21 02:33:47 EST 2011
My colleague asks me an interesting problem about uuid library in
python. In multicore system with multiprocessing, is it possible to
get the duplicated uuid with uuid1?
I just check the RFC 4122, and I can't find anything about multicore
environment. Python's uuid1 method generates the uuid with time stamp,
mac address, and algorithm to gen random numbers. So, I think it's
possible to get the duplicate uuid1 at the same time.
What about you? Hope for your reply
More information about the Python-list
mailing list