[Python-checkins] cpython (merge 3.3 -> default): Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
serhiy.storchaka
python-checkins at python.org
Sun Jun 9 20:10:49 CEST 2013
http://hg.python.org/cpython/rev/4a0017722910
changeset: 84073:4a0017722910
parent: 84071:10d325f674f5
parent: 84072:27f55ff12f41
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Jun 09 21:10:13 2013 +0300
summary:
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
files:
Lib/uuid.py | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/uuid.py b/Lib/uuid.py
--- a/Lib/uuid.py
+++ b/Lib/uuid.py
@@ -406,7 +406,7 @@
if win32wnet.Netbios(ncb) != 0:
continue
status._unpack()
- bytes = map(ord, status.adapter_address)
+ bytes = status.adapter_address
return ((bytes[0]<<40) + (bytes[1]<<32) + (bytes[2]<<24) +
(bytes[3]<<16) + (bytes[4]<<8) + bytes[5])
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -115,6 +115,8 @@
Library
-------
+- Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
+
- Issue #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.
- Issue #18143: Implement ssl.get_default_verify_paths() in order to debug
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list