[IPython-user] Avoiding autocompletion for private variables

Francesc Altet faltet at carabos.com
Fri Nov 25 06:41:23 CST 2005


A Divendres 25 Novembre 2005 13:08, Francesc Altet va escriure:
> Hi,
>
> I've setup the next directive in my ~/.ipython/ipythonrc:
>
> readline_omit__names 1
>
> but ipython keeps showing my the variables that start with '_' when
> hitting TAB twice:
>
> In [5]:f.
> f._File__getRootGroup      f._pttoh5                  f.format_version
> f._aliveNodes              f._refNode                 f.getAttrNode
> f._checkGroup              f._reverseRecArray         f.getCurrentMark
> [snipped...]
>
> What I'm doing wrong?

Ooops. Forgot to add versioning info. Using ipython 0.6.15 on Debian
sid.

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"




More information about the IPython-user mailing list