[IPython-dev] Problem with autoindent
Fernando Perez
Fernando.Perez at colorado.edu
Fri Jan 20 04:15:23 EST 2006
Fernando Perez wrote:
> 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.
This should be good in SVN now, along with having restored the multiline paste
capabilities. Let's see if I got this right (it took me a while to realize
that the right approach, as usual, was actually the simplest).
Cheers,
f
More information about the IPython-dev
mailing list