diff options
author | Stefan Krah <stefan@bytereef.org> | 2010-04-11 15:15:54 (GMT) |
---|---|---|
committer | Stefan Krah <stefan@bytereef.org> | 2010-04-11 15:15:54 (GMT) |
commit | a185839862b044ae6fe866b396c7fce267401e78 (patch) | |
tree | e3868917191b3185270472ed962b0e15197f0e5b /Lib/imaplib.py | |
parent | 6d7dfa231f362b06a94dec259c187cd7a6097f6d (diff) | |
download | cpython-a185839862b044ae6fe866b396c7fce267401e78.zip cpython-a185839862b044ae6fe866b396c7fce267401e78.tar.gz cpython-a185839862b044ae6fe866b396c7fce267401e78.tar.bz2 |
Fix for issues #3581, #1481 and #7650:
1. The assumptions in check_node() were too restrictive:
- Hardware addresses with universal_local_bit=1 are valid
(locally administered).
- Many of the tested functions (including uuid.getnode())
may return valid RFC 4122 random node IDs. These are pretty
much random 48-bit values with the multicast bit set to 1.
2. _unixdll_getnode() calls _uuid_generate_time(), which may be None
on some platforms. The resulting TypeError is now caught.
Diffstat (limited to 'Lib/imaplib.py')
0 files changed, 0 insertions, 0 deletions