[IPython-dev] more tab completion issues.
Thu Nov 1 22:25:52 CDT 2007
Yeah after looking at it again, I noticed certain things, like
__class__, had 4, and not 1, entries in the listing. It's a bit
annoying, since with something like numpy's 'array', it'll fill up
your window with 320+ items.
I thought about debugging it, but I don't know how to intercept the
'tab' keystroke in the tab completion.
On Nov 1, 2007, at 7:59 PM, Boyd Waters wrote:
> 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__
> 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.
>> >>> i = int(5)
>> >>> i
>> >>> i.__
>> Display all 121 possibilities? (y or n)
>> i.__abs__ i.__abs__ i.__add__ i.__add__
>> i.__and__ i.__and__ i.__class__
>> 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.
>> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
More information about the IPython-dev