summaryrefslogtreecommitdiffstats
path: root/Lib/uuid.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22131: Fixed a bug in handling an error occured during reading fromSerhiy Storchaka2014-09-061-3/+1
| | | | a pipe in _ipconfig_getnode().
* #19855: restore use of LC_ALL, not LC_MESSAGESR David Murray2014-01-181-2/+2
| | | | | | I didn't realize LC_ALL was an override, and I should have. I tried to make a test, but it is not clear that the LC variables actually affect the strings that uuid is using to parse the command output.
* #19855: uuid.get_node now looks on the PATH for executables on unix.R David Murray2013-12-181-25/+30
| | | | Patch by Serhiy Storchaka.
* Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment withSerhiy Storchaka2013-11-261-2/+10
| | | | virtual interface. Original patch by Kent Frazier.
* Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,Serhiy Storchaka2013-09-131-0/+2
| | | | | if all necessary functions are already found in libuuid. Patch by Evgeny Sologubov.
* Merged revisions 86192 via svnmerge fromBrian Curtin2010-11-051-4/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86192 | brian.curtin | 2010-11-05 09:48:35 -0500 (Fri, 05 Nov 2010) | 3 lines Shift the pipe-using code into an else block, then close the pipe in finally. Removes two ResourceWarnings. ........
* Merged revisions 86009 via svnmerge fromBrian Curtin2010-10-311-7/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86009 | brian.curtin | 2010-10-30 20:10:58 -0500 (Sat, 30 Oct 2010) | 2 lines Fix ResourceWarning for unclosed files (from os.popen) ........
* The uuid library on OSX 10.5 seems to contain the same bug as the oneRonald Oussoren2010-06-271-3/+3
| | | | | | on OSX 10.6, therefore don't use it there either. This fixes issue8621.
* The C function used by uuid.uuid4 is broken onRonald Oussoren2010-05-051-0/+13
| | | | | | | | | | 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.
* Fix py3k warnings in the uuid moduleAntoine Pitrou2009-10-141-2/+2
|
* #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is ↵Amaury Forgeot d'Arc2008-11-211-2/+2
| | | | | | not present. Will backport to 2.6
* uuid creation is now threadsafe, backport from py3k rev. 57375.Georg Brandl2007-08-241-1/+4
|
* Have the sha module raise a DeprecationWarning as specified in PEP 4.Brett Cannon2007-05-311-2/+2
|
* Have md5 raise a DeprecationWarning as per PEP 4.Brett Cannon2007-05-301-2/+2
|
* Bug #1541863: uuid.uuid1 failed to generate unique identifiersMartin v. Löwis2006-08-181-2/+2
| | | | on systems with low clock resolution.
* Update code and tests to support the 'bytes_le' attribute (forKa-Ping Yee2006-08-161-17/+43
| | | | | | | little-endian byte order on Windows), and to work around clocks with low resolution yielding duplicate UUIDs. Anthony Baxter has approved this change.
* If the executable doesn't exist, there's no reason to try to start it.Neal Norwitz2006-07-291-1/+4
| | | | This prevents garbage about command not found being printed on Solaris.
* Try to find the MAC addr on various flavours of Unix. This seems hopeless.Neal Norwitz2006-07-281-5/+31
| | | | The reduces the test_uuid failures, but there's still another method failing.
* Live with that "the hardware address" is an ill-definedTim Peters2006-07-281-4/+11
| | | | | | | concept, and that different ways of trying to find "the hardware address" may return different results. Certainly true on both of my Windows boxes, and in different ways (see whining on python-dev).
* Make uuid test suite pass on this box by requesting output with LC_ALL=C.Georg Brandl2006-07-271-1/+4
|
* Remove Python 2.3 compatibility comment.Ka-Ping Yee2006-06-191-2/+1
|
* Added missing svn:eol-style property to text files.Tim Peters2006-06-131-477/+477
|
* Whitespace normalization.Tim Peters2006-06-131-477/+477
|
* Add the uuid module.Ka-Ping Yee2006-06-121-0/+477
This module has been tested so far on Windows XP (Python 2.4 and 2.5a2), Mac OS X (Python 2.3, 2.4, and 2.5a2), and Linux (Python 2.4 and 2.5a2).