[IPython-dev] Problem with autoindent

Fernando Perez Fernando.Perez at colorado.edu
Thu Jan 12 14:21:48 EST 2006


Prabhu Ramachandran wrote:
> Hi,
> 
> With my SVN checkout of a few days back I get this nasty error:
> 
> In [1]: x = 1
> 
> In [2]: if x>0:
>    ...:     print 'g'
>    ...: elif x == 0:
> ------------------------------------------------------------
> IndentationError: unindent does not match any outer indentation level (<ipython console>, line 3)
> 
> 
> Very embarrasing, especially when this happens live in class! ;-)
> 
> If I turn off autoindent then things are fine.

Nasty, nasty.  Sorry.  Will get fixed.

Cheers,

f




More information about the IPython-dev mailing list