[New-bugs-announce] [issue32199] uuid.getnode() should return the MAC address on Android

Xavier de Gaye report at bugs.python.org
Sat Dec 2 09:29:39 EST 2017


New submission from Xavier de Gaye <xdegaye at gmail.com>:

Currently uuid.getnode() returns a random 48-bit number and so the UUIDs are not persistent across time. The reason is that on Android the 'ip link list' command fails.

uuid._ip_getnode() should invoke the 'ip link' command instead.

----------
components: Library (Lib)
messages: 307432
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: uuid.getnode() should return the MAC address on Android
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32199>
_______________________________________


More information about the New-bugs-announce mailing list