diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 8a75947..67d61fb 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -1808,7 +1808,6 @@ class InteractiveShell(SingletonConfigurable): 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: diff --git a/IPython/zmq/ipkernel.py b/IPython/zmq/ipkernel.py index 9722ba4..a0853f7 100755 --- a/IPython/zmq/ipkernel.py +++ b/IPython/zmq/ipkernel.py @@ -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():