[IPython-dev] Tab-completion of data/properties and win32com fix for IPython

Fernando Perez Fernando.Perez at colorado.edu
Tue Aug 3 00:10:30 EDT 2004


Jaco Schieke wrote:
> Fernando,
> 
> I see though that the regexp line:
>      m = re.match(r"(\S+(\.\w+)*)\.(\w*)$", text)
> in FlexCompleter is not incorporated into rlcompleter for python 2.3.
> 
> The original reason for changing this from the vanilla rlcompleter was 
> to allow for completions on arrays and other funny things, e.g. 
> "".<tab>.  I was involved in this but took a 2 year leave of absence 
> ;-).  I read some comments (after posting here) on sourceforge on the 
> original patch submitted for rlcompleter though and there are issues 
> with arbitrary code execution 
> (https://sourceforge.net/tracker/?func=detail&aid=547176&group_id=5470&atid=305470). 

Thanks for pointing this to me.

Well, I guess then my solution will then be to keep FlexCompleter around, but 
I'll strip it to the bare essentials, overriding only the necessary methods 
from rlcompleter.

Cheers,

f




More information about the IPython-dev mailing list