]> granicus.if.org Git - python/commit
The C function used by uuid.uuid4 is broken on
authorRonald Oussoren <ronaldoussoren@mac.com>
Wed, 5 May 2010 14:48:37 +0000 (14:48 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Wed, 5 May 2010 14:48:37 +0000 (14:48 +0000)
commit332069637162c46dbad433ef1b620742a56af430
tree7d0719262769f8f4272d3b9f9a815a6e1dce6f60
parent9b90f7af492e0e4b5b3011c9b5e6207d4cdf0f8c
The C function used by uuid.uuid4 is broken on
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.

This patch falls back to the the Python implementation
on OSX 10.6 or later.

Fixes issue #8621.
Lib/test/test_uuid.py
Lib/uuid.py
Misc/NEWS