summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-02 12:22:19 -0700
committerGitHub <noreply@github.com>2022-11-02 12:22:19 -0700
commitc23862fc6c3195eccc3cd71e45d7b336dc0d5d50 (patch)
treea5ed7fcbe4a0a2d5ccf7c91c8a59d0c56e511ee1 /Misc
parent[3.10] gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958) (#... (diff)
downloadcpython-c23862fc6c3195eccc3cd71e45d7b336dc0d5d50.tar.gz
cpython-c23862fc6c3195eccc3cd71e45d7b336dc0d5d50.tar.bz2
cpython-c23862fc6c3195eccc3cd71e45d7b336dc0d5d50.zip
gh-98415: Fix uuid.getnode() ifconfig implementation (GH-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(). (cherry picked from commit e3ec272f57c3948834a6159cf2604978d3db67a0) Co-authored-by: Chaim Sanders <csanders-git@users.noreply.github.com> 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 00000000000..af2db1f9965
--- /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