summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChaim Sanders <csanders-git@users.noreply.github.com>2022-11-02 18:41:20 (GMT)
committerGitHub <noreply@github.com>2022-11-02 18:41:20 (GMT)
commite3ec272f57c3948834a6159cf2604978d3db67a0 (patch)
treef51493a96f08ed69ad6571ea9c35aec27b334ae1 /Misc
parent3d889dc0a0efa6fcbd984ece365c9ac08d2cd4a9 (diff)
downloadcpython-e3ec272f57c3948834a6159cf2604978d3db67a0.zip
cpython-e3ec272f57c3948834a6159cf2604978d3db67a0.tar.gz
cpython-e3ec272f57c3948834a6159cf2604978d3db67a0.tar.bz2
gh-98415: Fix uuid.getnode() ifconfig implementation (#98423)
The uuid.getnode() function has multiple implementations, tested sequentially. The ifconfig implementation was incorrect and always failed: fix it. In practice, functions of libuuid library are preferred, if available: uuid_generate_time_safe(), uuid_create() or uuid_generate_time(). Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst
new file mode 100644
index 0000000..af2db1f
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst
@@ -0,0 +1 @@
+Fix detection of MAC addresses for :mod:`uuid` on certain OSs. Patch by Chaim Sanders