diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-06-09 18:10:13 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-06-09 18:10:13 (GMT) |
commit | 531381f207911db931470ed313be4f2df844d36b (patch) | |
tree | cbaea91cd1a1b8e1a601cf5a28fd60428e3c6664 | |
parent | 46bebee25f8cdbec6bbee04fdf9681edf0155c5b (diff) | |
parent | 6f50b810b78eaecff78bb7e2a3109d1cc672dbe0 (diff) | |
download | cpython-531381f207911db931470ed313be4f2df844d36b.zip cpython-531381f207911db931470ed313be4f2df844d36b.tar.gz cpython-531381f207911db931470ed313be4f2df844d36b.tar.bz2 |
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.
-rw-r--r-- | Lib/uuid.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/uuid.py b/Lib/uuid.py index 5d091b9..0cdcd38 100644 --- a/Lib/uuid.py +++ b/Lib/uuid.py @@ -406,7 +406,7 @@ def _netbios_getnode(): 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]) @@ -115,6 +115,8 @@ Core and Builtins 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 |