[IPython-dev] import completer bug "import IPython.<TAB>

Ville M. Vainio vivainio@gmail....
Tue Sep 18 12:41:44 CDT 2007


Try writing

import IPython.<TAB>

and you get an endless stream of errors:

---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)

Q:\ipython\IPython\iplib.py in raw_input(self=<IPython.iplib.InteractiveShell o
ject at 0x00EF26D0>, prompt='\nIn [403]: ', continue_prompt=0)
   2025         if self.has_readline:
   2026             self.set_completer()
-> 2027
   2028         try:
   2029             line = raw_input_original(prompt).decode(self.stdin_encodin
)

RuntimeError: can't re-enter readline

This is probably because our attempt is launching IPython recursively.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-dev mailing list