[IPython-dev] more tab completion issues.

Boyd Waters bwaters at nrao.edu
Thu Nov 1 22:59:57 EDT 2007


I get even more duplicates than that...
 >>> i.__
Display all 121 possibilities? (y or n)
i.__abs__           i.__abs__           i.__add__            
i.__add__           i.__and__           i.__and__
i.__class__         i.__class__         i.__class__          
i.__class__         i.__cmp__           i.__cmp__
i.__coerce__        i.__coerce__        i.__delattr__        
i.__delattr__       i.__delattr__       i.__div__
...

Funny.



On Nov 1, 2007, at 7:44 PM, Michael VanLandingham wrote:

> Following along the whole rlcompleter/readline/editline thread, I  
> noticed today that when I do tab completion on a class, I get  
> everything listed twice.
> Happens in python and ipython.
> Example:
> >>> i = int(5)
> >>> i
> 5
> >>> i.__
> Display all 121 possibilities? (y or n)
> i.__abs__           i.__abs__           i.__add__           i.__add__
> i.__and__           i.__and__           i.__class__          
> i.__class__
> ...etc.
>
>
> I don't see duplicates if I do 'dir(i)'
>
> Is anyone else seeing this behavior?  Any ideas why?  Something in  
> the rlcompleter or readline...  Seems to occur with any class.
>
>
> -Michael
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig




More information about the IPython-dev mailing list