Commit Graph

14 Commits

Author SHA1 Message Date
Amaury Forgeot d'Arc 42491ce09c Merged revisions 67318 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67318 | amaury.forgeotdarc | 2008-11-21 23:05:48 +0100 (ven., 21 nov. 2008) | 4 lines

  #4363: Let uuid.uuid1() and uuid.uuid4() run even if the ctypes module is not present.

  Will backport to 2.6
........
2008-11-21 22:08:14 +00:00
Georg Brandl 8ec5754086 uuid creation is now threadsafe, backport from py3k rev. 57375. 2007-08-24 06:10:01 +00:00
Brett Cannon c2aa09ad80 Have the sha module raise a DeprecationWarning as specified in PEP 4. 2007-05-31 19:20:00 +00:00
Brett Cannon 7eec217908 Have md5 raise a DeprecationWarning as per PEP 4. 2007-05-30 22:24:28 +00:00
Martin v. Löwis 2eb8c4f292 Bug #1541863: uuid.uuid1 failed to generate unique identifiers
on systems with low clock resolution.
2006-08-18 03:47:18 +00:00
Ka-Ping Yee b1cb56ad17 Update code and tests to support the 'bytes_le' attribute (for
little-endian byte order on Windows), and to work around clocks
with low resolution yielding duplicate UUIDs.

Anthony Baxter has approved this change.
2006-08-16 07:02:50 +00:00
Neal Norwitz 175001db9e If the executable doesn't exist, there's no reason to try to start it.
This prevents garbage about command not found being printed on Solaris.
2006-07-29 20:20:52 +00:00
Neal Norwitz 46fc6a08f6 Try to find the MAC addr on various flavours of Unix. This seems hopeless.
The reduces the test_uuid failures, but there's still another method failing.
2006-07-28 07:21:27 +00:00
Tim Peters 750c4420a8 Live with that "the hardware address" is an ill-defined
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).
2006-07-28 04:51:59 +00:00
Georg Brandl 75a832d4e7 Make uuid test suite pass on this box by requesting output with LC_ALL=C. 2006-07-27 16:08:15 +00:00
Ka-Ping Yee 3dbc8916f5 Remove Python 2.3 compatibility comment. 2006-06-19 22:49:36 +00:00
Tim Peters 2adc626bb5 Added missing svn:eol-style property to text files. 2006-06-13 00:30:50 +00:00
Tim Peters edd66fa7e9 Whitespace normalization. 2006-06-13 00:30:01 +00:00
Ka-Ping Yee f9eb82f252 Add the uuid module.
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).
2006-06-12 23:47:52 +00:00