Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Backport PR #2170: Fix tab completion with IPython.embed_kernel().

Closes #2162.
  • Loading branch information...
commit f4be28f06c2b23cd8e4a3653b9e84bde593e4c86 1 parent 827fb07
Min RK minrk authored
Showing with 1 addition and 1 deletion.
  1. +0 −1  IPython/core/interactiveshell.py
  2. +1 −0  IPython/zmq/ipkernel.py
1  IPython/core/interactiveshell.py
View
@@ -1808,7 +1808,6 @@ def init_readline(self):
self.readline_no_record = no_op_context
self.set_readline_completer = no_op
self.set_custom_completer = no_op
- self.set_completer_frame = no_op
if self.readline_use:
warn('Readline services not available or not loaded.')
else:
1  IPython/zmq/ipkernel.py
View
@@ -908,6 +908,7 @@ def embed_kernel(module=None, local_ns=None, **kwargs):
app.kernel.user_module = module
app.kernel.user_ns = local_ns
+ app.shell.set_completer_frame()
app.start()
def main():
Please sign in to comment.
Something went wrong with that request. Please try again.