This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author devurandom
Recipients ajaksu2, amaury.forgeotdarc, devurandom, kleist, nnorwitz, pitrou, skrah, tim.peters
Date 2012-03-23.16:22:05
SpamBayes Score 7.7774903e-10
Marked as misclassified No
Message-id <1332519726.47.0.885544033388.issue3581@psf.upfronthosting.co.za>
In-reply-to
Content
> Well, without a valid MAC address the function cannot work...
It should not break in such ugly way either, imo.

> On the other hand, I would not worry too much: 
> uuid._ifconfig_getnode() is an internal function; and since all the
> other tests pass, uuid.getnode() probably has other ways to get a 
> unique identifier for the machine.
Here test_uuid fails due to this issue. Which in turn prevents my python3 rpm from being build.

> And by the way, in python 3.2, the test function is skipped with this 
> message: 
> """WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
>    It is disabled until the code and/or test can be fixed properly."""
That does not seem to be true anymore in Python 3.2.2.

Would be nice if you could detect the all-zero case and just skip the test in that case.
History
Date User Action Args
2012-03-23 16:22:06devurandomsetrecipients: + devurandom, tim.peters, nnorwitz, amaury.forgeotdarc, pitrou, ajaksu2, kleist, skrah
2012-03-23 16:22:06devurandomsetmessageid: <1332519726.47.0.885544033388.issue3581@psf.upfronthosting.co.za>
2012-03-23 16:22:05devurandomlinkissue3581 messages
2012-03-23 16:22:05devurandomcreate