[IPython-user] broken completion

Thorsten Kampe thorsten at thorstenkampe.de
Sat Mar 6 08:45:24 CST 2004


This happens when I try to use completion in IPython 0.5.0 under
Cygwin:

Python 2.3.3 (#1, Dec 30 2003, 08:29:25)
Type "copyright", "credits" or "license" for more information.

IPython 0.5.0 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
@magic  -> Information about IPython's 'magic' @ functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
1% abs( [Tab]
Display all 198 possibilities? (y or n) n
1% abs(bs(5)
       ^^^ this is inserted but the interpreter doesn't see it - so
           [Enter] ->
1: 5
2% abs( [Tab]
Display all 203 possibilities? (y or n) n
2% abs(bs( [Bksp] [Bksp] [Bksp]
       ^^^ ...to erase this
2% abs(5) [Enter] 
------------------------------------------------------------
   File "<console>", line 1
     a5)
       ^
SyntaxError: invalid syntax

In a standard Python shell it works (no "bs(" is inserted by [Tab]).
And on my Gentoo Linux it also works with plain Python shell *and*
IPython.

Thorsten



More information about the IPython-user mailing list