[3.6] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922) by serhiy-storchaka · Pull Request #7014 · python/cpython

@CtrlZvi @serhiy-storchaka

)

uuid._ipconfig_getnode did not validate the maximum length of the value,
so long as the value had the same type of formatting as a MAC address.
This let it select DUIDs as MAC addresses. It now requires an exact
length match..
(cherry picked from commit c66c342)

Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>

@serhiy-storchaka added the type-bug

An unexpected behavior, bug, or error

label

May 20, 2018