diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-07-27 20:47:24 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-07-27 20:47:24 +0000 |
commit | 08310d6cb7d6c00733a69c62121236602e31c999 (patch) | |
tree | 0312fb76eb13502eb153dc5722dc102a5f1a0f4e /Lib/pydoc.py | |
parent | cff784caa75b78a502453484931c8e64542a018c (diff) | |
download | cpython-git-08310d6cb7d6c00733a69c62121236602e31c999.tar.gz |
check_node(): stop spraying mystery output to stderr.
When a node number disagrees, keep track of all sources & the
node numbers they reported, and stick all that in the error message.
Changed all callers to supply a non-empty "source" argument; made
the "source" argument non-optional.
On my box, test_uuid still fails, but with the less confusing output:
AssertionError: different sources disagree on node:
from source 'getnode1', node was 00038a000015
from source 'getnode2', node was 00038a000015
from source 'ipconfig', node was 001111b2b7bf
Only the last one appears to be correct; e.g.,
C:\Code\python\PCbuild>getmac
Physical Address Transport Name
=================== ==========================================================
00-11-11-B2-B7-BF \Device\Tcpip_{190FB163-5AFD-4483-86A1-2FE16AC61FF1}
62-A1-AC-6C-FD-BE \Device\Tcpip_{8F77DF5A-EA3D-4F1D-975E-D472CEE6438A}
E2-1F-01-C6-5D-88 \Device\Tcpip_{CD18F76B-2EF3-409F-9B8A-6481EE70A1E4}
I can't find anything on my box with MAC 00-03-8a-00-00-15, and am
not clear on where that comes from.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions