##// END OF EJS Templates
Backport PR #2170: Fix tab completion with IPython.embed_kernel()....
MinRK -
Show More
@@ -1808,7 +1808,6 b' class InteractiveShell(SingletonConfigurable):'
1808 self.readline_no_record = no_op_context
1808 self.readline_no_record = no_op_context
1809 self.set_readline_completer = no_op
1809 self.set_readline_completer = no_op
1810 self.set_custom_completer = no_op
1810 self.set_custom_completer = no_op
1811 self.set_completer_frame = no_op
1812 if self.readline_use:
1811 if self.readline_use:
1813 warn('Readline services not available or not loaded.')
1812 warn('Readline services not available or not loaded.')
1814 else:
1813 else:
@@ -908,6 +908,7 b' def embed_kernel(module=None, local_ns=None, **kwargs):'
908
908
909 app.kernel.user_module = module
909 app.kernel.user_module = module
910 app.kernel.user_ns = local_ns
910 app.kernel.user_ns = local_ns
911 app.shell.set_completer_frame()
911 app.start()
912 app.start()
912
913
913 def main():
914 def main():
General Comments 0
You need to be logged in to leave comments. Login now