bpo-32199: uuid.getnode() now returns the MAC address on Android by xdegaye · Pull Request #4696 · python/cpython (original) (raw)
@serhiy-storchaka packages such as iproute2
may be patched by a linux distribution and if they did not and we could just check for the source of iproute2
, then there would not be any issue in the first place as Android (a linux distribution in this context) would have a functional ip link list
then.
One may say, as it has been done before for the same kind of problem let us just use 'ip link' for now, because it is such an obvious change, and see if any one complain
. But strictly speaking we cannot, as here the behavioral change that could trigger a complaint is a change in a single bit in the value returned by getnode().
@warsaw I agree it would be better to try to improve this with some kind of notification, maybe in another issue and we can leave this one pending meanwhile ?