[IPython-dev] Problem with autoindent

Prabhu Ramachandran prabhu_r at users.sf.net
Thu Jan 12 13:02:07 CST 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