Permalink
Browse files

Fix tab completion with IPython.embed_kernel().

  • Loading branch information...
1 parent 54e6c7d commit 58532e9808f7a9aa82444ee792f4fcb523cb7626 @bfroehle committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +0 −1 IPython/core/interactiveshell.py
  2. +1 −0 IPython/zmq/ipkernel.py
@@ -1809,7 +1809,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:
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():

0 comments on commit 58532e9

Please sign in to comment.