Commit 531381f2 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #16102: Make uuid._netbios_getnode() work again on Python 3.

parents 46bebee2 6f50b810
...@@ -406,7 +406,7 @@ def _netbios_getnode(): ...@@ -406,7 +406,7 @@ def _netbios_getnode():
if win32wnet.Netbios(ncb) != 0: if win32wnet.Netbios(ncb) != 0:
continue continue
status._unpack() status._unpack()
bytes = map(ord, status.adapter_address) bytes = status.adapter_address
return ((bytes[0]<<40) + (bytes[1]<<32) + (bytes[2]<<24) + return ((bytes[0]<<40) + (bytes[1]<<32) + (bytes[2]<<24) +
(bytes[3]<<16) + (bytes[4]<<8) + bytes[5]) (bytes[3]<<16) + (bytes[4]<<8) + bytes[5])
......
...@@ -115,6 +115,8 @@ Core and Builtins ...@@ -115,6 +115,8 @@ Core and Builtins
Library 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 #17134: Add ssl.enum_cert_store() as interface to Windows' cert store.
- Issue #18143: Implement ssl.get_default_verify_paths() in order to debug - Issue #18143: Implement ssl.get_default_verify_paths() in order to debug
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment