##// END OF EJS Templates
Handle some tricky Comm lifecycle issues...
Handle some tricky Comm lifecycle issues * If the comm was a primary comm, but there was an error opening it, _closed was False, which is wrong * If Comm.close() was called, but an error happened, it still appeared to be open This change makes the _closed attribute more conservative. If _closed is False, the comm is definitely open for messages. If _closed is True, we either didn't initialize correctly, or we tried to close at some point.
Jason Grout -
r18454:d2c994e5
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_capture.py Loading ...
test_decorators.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_localinterfaces.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_pickleshare.py Loading ...
test_pickleutil.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_sysinfo.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_tokenutil.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...