From 47c191aaab22349cddc5d363275701c72b7e0ed2 2008-08-21 09:42:55 From: Ville M. Vainio Date: 2008-08-21 09:42:55 Subject: [PATCH] escape parens on filename completer (linux only) --- diff --git a/IPython/completer.py b/IPython/completer.py index 3647da2..52df78e 100644 --- a/IPython/completer.py +++ b/IPython/completer.py @@ -314,7 +314,10 @@ class IPCompleter(Completer): # don't want to treat as delimiters in filename matching # when escaped with backslash - protectables = ' ' + if sys.platform == 'win32': + protectables = ' ' + else: + protectables = ' ()' if text.startswith('!'): text = text[1:]