diff options
author | Chaim Sanders <csanders-git@users.noreply.github.com> | 2022-11-02 18:41:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 18:41:20 (GMT) |
commit | e3ec272f57c3948834a6159cf2604978d3db67a0 (patch) | |
tree | f51493a96f08ed69ad6571ea9c35aec27b334ae1 /Misc | |
parent | 3d889dc0a0efa6fcbd984ece365c9ac08d2cd4a9 (diff) | |
download | cpython-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.rst | 1 |
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 |