13 lines
586 B
Diff
13 lines
586 B
Diff
diff -r 4a318a45c4c3 Lib/uuid.py
|
|
--- a/Lib/uuid.py Mon Aug 19 13:07:18 2013 -0400
|
|
+++ b/Lib/uuid.py Mon Aug 19 21:41:08 2013 +0400
|
|
@@ -429,6 +429,8 @@
|
|
_uuid_generate_random = lib.uuid_generate_random
|
|
if hasattr(lib, 'uuid_generate_time'):
|
|
_uuid_generate_time = lib.uuid_generate_time
|
|
+ if _uuid_generate_random is not None:
|
|
+ break # found everything we were looking for
|
|
|
|
# The uuid_generate_* functions are broken on MacOS X 10.5, as noted
|
|
# in issue #8621 the function generates the same sequence of values
|