[IPython-dev] Problem with autoindent

Prabhu Ramachandran prabhu_r at users.sf.net
Thu Jan 12 14:02:07 EST 2006


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.


More information about the IPython-dev mailing list