diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-06-27 12:46:19 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-06-27 12:46:19 (GMT) |
commit | a75facfdc7f1d3595aa717cef43dbedef209d0e1 (patch) | |
tree | ea0f20e11c3017bf3d6c105e285f94e16406ca8a /Lib/uuid.py | |
parent | 0f2985c1c2861beec8e56f933ca207248e33c271 (diff) | |
download | cpython-a75facfdc7f1d3595aa717cef43dbedef209d0e1.zip cpython-a75facfdc7f1d3595aa717cef43dbedef209d0e1.tar.gz cpython-a75facfdc7f1d3595aa717cef43dbedef209d0e1.tar.bz2 |
Merged revisions 82278 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82278 | ronald.oussoren | 2010-06-27 14:45:47 +0200 (Sun, 27 Jun 2010) | 12 lines
Merged revisions 82276 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82276 | ronald.oussoren | 2010-06-27 14:43:47 +0200 (Sun, 27 Jun 2010) | 5 lines
The uuid library on OSX 10.5 seems to contain the same bug as the one
on OSX 10.6, therefore don't use it there either.
This fixes issue8621.
........
................
Diffstat (limited to 'Lib/uuid.py')
-rw-r--r-- | Lib/uuid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py index 8161d58..b17f1c8 100644 --- a/Lib/uuid.py +++ b/Lib/uuid.py @@ -427,17 +427,17 @@ try: if hasattr(lib, 'uuid_generate_time'): _uuid_generate_time = lib.uuid_generate_time - # The uuid_generate_* functions are broken on MacOS X 10.6, as noted + # The uuid_generate_* functions are broken on MacOS X 10.5, as noted # in issue #8621 the function generates the same sequence of values # in the parent process and all children created using fork (unless # those children use exec as well). # - # Assume that the uuid_generate functions are broken from 10.6 onward, + # Assume that the uuid_generate functions are broken from 10.5 onward, # the test can be adjusted when a later version is fixed. import sys if sys.platform == 'darwin': import os - if int(os.uname()[2].split('.')[0]) >= 10: + if int(os.uname()[2].split('.')[0]) >= 9: _uuid_generate_random = _uuid_generate_time = None # On Windows prior to 2000, UuidCreate gives a UUID containing the |