##// END OF EJS Templates
Backport PR #10030: Fix running %run -d twice...
Backport PR #10030: Fix running %run -d twice I suspect this is a bug in pdb; I'll try to get it fixed there too, but deleting `deb.curframe` seems to work around the issue. Closes 10028 . Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>

File last commit:

r21892:abd03140
r23148:73bd84e4
Show More
kernel.py
13 lines | 297 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,"
" and will be removed in IPython 6.0.",
DeprecationWarning
)
from ipykernel.connect import *