##// END OF EJS Templates
utils.localinterfaces: Uniquify LOCAL_IPS...
utils.localinterfaces: Uniquify LOCAL_IPS On my Python 3.2.3 system, I get: >>> socket.gethostbyname_ex('localhost') ('localhost', [], ['127.0.0.1', '127.0.0.1']) After de-duplicating, LOCAL_IPS[1] (if it exists) will be a non-local IP address that might be useful to a remote host (it might also be '0.0.0.0', but I'll worry about that later).
W. Trevor King -
r9248:bb4531ea
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_module_paths.py Loading ...
test_notification.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...