Skip to content

Commit 13ccad1

Browse files
committed
Remove implicit bind_kernel in %qtconsole
The logic is wrong (is ipyparallel imported, not is this an ipython parallel engine) that should be the responsibility of ipython parallel to add this step
1 parent f3f2a60 commit 13ccad1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ipykernel/zmqshell.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -398,14 +398,6 @@ def qtconsole(self, arg_s):
398398
Useful for connecting a qtconsole to running notebooks, for better
399399
debugging.
400400
"""
401-
402-
# %qtconsole should imply bind_kernel for engines:
403-
# FIXME: move to ipyparallel Kernel subclass
404-
if "ipyparallel" in sys.modules:
405-
from ipyparallel import bind_kernel
406-
407-
bind_kernel()
408-
409401
try:
410402
connect_qtconsole(argv=arg_split(arg_s, os.name == "posix"))
411403
except Exception as e:

0 commit comments

Comments
 (0)