From c16622aef619920e61b5037b90239bf8ca7cd5f3 2015-03-20 00:42:49 From: Matthias Bussonnier Date: 2015-03-20 00:42:49 Subject: [PATCH] Merge pull request #8090 from takluyver/debugger-reset-readline-delims Reset readline delimiters on exiting debugger --- diff --git a/IPython/core/debugger.py b/IPython/core/debugger.py index 80c3ada..3aaa9fd 100644 --- a/IPython/core/debugger.py +++ b/IPython/core/debugger.py @@ -302,6 +302,8 @@ class Pdb(OldPdb): if hasattr(self, 'old_all_completions'): self.shell.Completer.all_completions=self.old_all_completions + # Pdb sets readline delimiters, so set them back to our own + self.shell.readline.set_completer_delims(self.shell.readline_delims) return OldPdb.do_quit(self, arg)