From 76796b5ca5ebd2df822e11484ecdbc80463ee78d 2010-12-08 21:53:48 From: Fernando Perez Date: 2010-12-08 21:53:48 Subject: [PATCH] Hide private names by default in tab completion. This is the most reasonable behavior for new users, and it's important to have a good default until we can make the qt console fully configurable. --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 01c5c96..1d2593b 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -180,7 +180,7 @@ class InteractiveShell(Configurable, Magic): # but for now, we can't do that as readline is welded in everywhere. readline_use = CBool(True, config=True) readline_merge_completions = CBool(True, config=True) - readline_omit__names = Enum((0,1,2), default_value=0, config=True) + readline_omit__names = Enum((0,1,2), default_value=2, config=True) readline_remove_delims = Str('-/~', config=True) readline_parse_and_bind = List([ 'tab: complete',