[IPython-dev] Tab-completion of data/properties and win32com fix for IPython
Fernando.Perez at colorado.edu
Mon Aug 2 18:09:52 CDT 2004
Jaco Schieke wrote:
> I had some issues trying to get tab-completion working with COM objects'
> properties in Window$ using the win32com module & IPython and have been
> able to get things working with help from the python-win32 list. I'm
> reposting the solution on here for inclusion if it makes sense into
> IPython. The best place to fix this would however be in python's
> rlcompleter.py and not IPython's FlexCompleter.py, but previous requests
> to fix rlcompleter.py have gone unheeded - and this one's got an even
> lower chance as it is win32 specific.
Well, unfortunately there's no point in accepting your patch: FlexCompleter is
slated for removal from ipython soon. FlexCompleter was really just a copy of
rlcompleter from python 2.1, back when rlcompleter did not support arbitrary
namespaces. But my patch to rlcompleter got accepted into mainline, so there
really is no need anymore for FlexCompleter, which is now a copy of the
It's actually just a matter of my having been lazy that it's still around,
since I should have removed it a while back (when 2.2 became a requirement for
ipython -- I don't really remember when this happened).
Sorry to break these bad news to you. As you say, the proper place for this
fix is really in rlcompleter proper, so perhaps you could continue pounding on
their door until at least you get a response. That's how I got the patch
which made FlexCompleter accepted into the official rlcompleter.
More information about the IPython-dev