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 skrah
Recipients ajaksu2, pitrou, skrah
Date 2010-04-08.16:26:24
SpamBayes Score 2.5395455e-09
Marked as misclassified No
Message-id <1270743987.13.0.908631962421.issue3581@psf.upfronthosting.co.za>
In-reply-to
Content
The new patch test_uuid.patch fixes issue 7650, issue 1481 and this one.

I've applied it to py3k-cdecimal in r79905 and test_uuid is passed
on all buildbots (I did not test on ARM and one FreeBSD bot is still hanging in test_subprocess).

Additionally, the patch works on Windows-qemu (this issue) and OpenBSD-qemu.


Changes:

1. check_node accepts addresses with universal_local_bit set to 1.
   These addresses are valid (like the qemu one).

2. check_node accepts addresses with the multicast bit set to 1.
   These addresses are used for valid random addresses per the RFC
   and uuid.getnode() itself actually may return such a random address.

3. On some platforms, _uuid_generate_time can't be set, so
   _unixdll_getnode fails with a TypeError. This exception
   is now caught.

4. With these changes, there appear to be no more failures, so
   all tests are enabled again.


Could this go into trunk, since the tests actually fail needlessly
on qemu setups?
History
Date User Action Args
2010-04-08 16:26:27skrahsetrecipients: + skrah, pitrou, ajaksu2
2010-04-08 16:26:27skrahsetmessageid: <1270743987.13.0.908631962421.issue3581@psf.upfronthosting.co.za>
2010-04-08 16:26:25skrahlinkissue3581 messages
2010-04-08 16:26:24skrahcreate