[IPython-dev] IPython bug?

Fernando Perez fperez at colorado.edu
Fri May 23 22:01:54 EDT 2003


Gary Bishop wrote:
> With readline mark-directories set to "on" (the default value), on 
> windows when I try:
> 
> In [3]: cd d:\msl\gb\
>    ...:
>    ...:
>    ...:
>    ...:
>    ...:
> 
> The trailing \ on a magic command seems to make it request 
> continuations forever. I agree that \ as the separator on windows is 
> horrible. I don't know why the Python guys use it. Virtually everything 
> works with /. I might try changing it somewhere. In the meantime, it 
> breaks IPython.

 From the ipythonrc file:

# ii. readline_remove_delims: a string of characters to be removed from the
# default word-delimiters list used by readline, so that completions may be
# performed on strings which contain them. Do not change the default value
# unless you know what you're doing.
readline_remove_delims '"[]{}-/~


Try removing '\' from the delimiters list to see what happens.  Some escaping 
might be necessary.  If this fixes it, we can always put a note in for users.

Cheers,

f.




More information about the IPython-dev mailing list