I've reported this in Apple Bug 5563035. On Nov 1, 2007, at 9:25 PM, Michael VanLandingham wrote:
> 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. > > -mvl > > 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__ >> ... >> >> 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@python.org >>> http://mail.python.org/mailman/listinfo/pythonmac-sig >> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig