Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-32502: Discard 64-bit (and other invalid) hardware addresses (GH-9125) | Chih-Hsuan Yen | 2018-09-11 | 1 | -4/+10 |
| | | | | | (cherry picked from commit 6b273f7f4056f8276f61a97c789d6bb4425e653c) Co-authored-by: Bo Bayles <bbayles@gmail.com> | ||||
* | [2.7] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922) (GH-7015) | Serhiy Storchaka | 2018-05-20 | 1 | -1/+1 |
| | | | | | | | | | uuid._ipconfig_getnode did not validate the maximum length of the value, so long as the value had the same type of formatting as a MAC address. This let it select DUIDs as MAC addresses. It now requires an exact length match.. (cherry picked from commit c66c342cb42ab8a88884527ddfe3a5086bc06316) Co-authored-by: CtrlZvi <viz+github@flippedperspective.com> | ||||
* | [2.7] bpo-9678: Fix determining the MAC address in the uuid module. ↵ | Serhiy Storchaka | 2017-11-04 | 1 | -2/+16 |
| | | | | | | | | | (GH-4264) (#4270) * Using ifconfig on NetBSD and OpenBSD. * Using arp on Linux, FreeBSD, NetBSD and OpenBSD. Based on patch by Takayuki Shimizukawa.. (cherry picked from commit ee1a9a2b78d5b6bb1a8148fc5fcf365e6d4e9e67) | ||||
* | always use os.urandom for the uuid4 algorithm (closes #25515) | Benjamin Peterson | 2015-10-30 | 1 | -21/+6 |
| | |||||
* | Issue #24634: Importing uuid should not try to load libc on Windows | Steve Dower | 2015-07-14 | 1 | -2/+6 |
| | |||||
* | Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD. | Serhiy Storchaka | 2014-11-21 | 1 | -1/+4 |
| | |||||
* | Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat. | Serhiy Storchaka | 2014-11-07 | 1 | -18/+50 |
| | | | | Based on patch by Aivars Kalvāns. | ||||
* | Issue #22131: Fixed a bug in handling an error occured during reading from | Serhiy Storchaka | 2014-09-06 | 1 | -3/+1 |
| | | | | a pipe in _ipconfig_getnode(). | ||||
* | #19855: restore use of LC_ALL, not LC_MESSAGES | R David Murray | 2014-01-18 | 1 | -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 Murray | 2013-12-18 | 1 | -25/+30 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with | Serhiy Storchaka | 2013-11-26 | 1 | -2/+10 |
| | | | | virtual interface. Original patch by Kent Frazier. | ||||
* | Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL, | Serhiy Storchaka | 2013-09-13 | 1 | -0/+2 |
| | | | | | if all necessary functions are already found in libuuid. Patch by Evgeny Sologubov. | ||||
* | Merged revisions 86192 via svnmerge from | Brian Curtin | 2010-11-05 | 1 | -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 from | Brian Curtin | 2010-10-31 | 1 | -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 one | Ronald Oussoren | 2010-06-27 | 1 | -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 on | Ronald Oussoren | 2010-05-05 | 1 | -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 module | Antoine Pitrou | 2009-10-14 | 1 | -2/+2 |
| | |||||
* | #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is ↵ | Amaury Forgeot d'Arc | 2008-11-21 | 1 | -2/+2 |
| | | | | | | not present. Will backport to 2.6 | ||||
* | uuid creation is now threadsafe, backport from py3k rev. 57375. | Georg Brandl | 2007-08-24 | 1 | -1/+4 |
| | |||||
* | Have the sha module raise a DeprecationWarning as specified in PEP 4. | Brett Cannon | 2007-05-31 | 1 | -2/+2 |
| | |||||
* | Have md5 raise a DeprecationWarning as per PEP 4. | Brett Cannon | 2007-05-30 | 1 | -2/+2 |
| | |||||
* | Bug #1541863: uuid.uuid1 failed to generate unique identifiers | Martin v. Löwis | 2006-08-18 | 1 | -2/+2 |
| | | | | on systems with low clock resolution. | ||||
* | Update code and tests to support the 'bytes_le' attribute (for | Ka-Ping Yee | 2006-08-16 | 1 | -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 Norwitz | 2006-07-29 | 1 | -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 Norwitz | 2006-07-28 | 1 | -5/+31 |
| | | | | The reduces the test_uuid failures, but there's still another method failing. | ||||
* | Live with that "the hardware address" is an ill-defined | Tim Peters | 2006-07-28 | 1 | -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 Brandl | 2006-07-27 | 1 | -1/+4 |
| | |||||
* | Remove Python 2.3 compatibility comment. | Ka-Ping Yee | 2006-06-19 | 1 | -2/+1 |
| | |||||
* | Added missing svn:eol-style property to text files. | Tim Peters | 2006-06-13 | 1 | -477/+477 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-13 | 1 | -477/+477 |
| | |||||
* | Add the uuid module. | Ka-Ping Yee | 2006-06-12 | 1 | -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). |