##// END OF EJS Templates
Backport PR #4074: close Client sockets if connection fails...
Backport PR #4074: close Client sockets if connection fails avoids runaway FDs in cases of frequent client failure. also cleanup Client.close a little bit, allowing setting `linger` on sockets at shutdown time, which is helpful for preventing FD growth on connection failure. Should be considered for backport to 1.1.

File last commit:

r10582:07f00631
r12427:fb66fa1e
Show More
kernel.py
12 lines | 253 B | text/x-python | PythonLexer
"""[DEPRECATED] Utilities for connecting to kernels
Moved to IPython.kernel.connect
"""
import warnings
warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0",
DeprecationWarning
)
from IPython.kernel.connect import *