You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure I'm missing something here, but I was wondering why scrolling up through indentation breaks everything? In particular, it seems like this should never happen:
In [1]: for i in range(4):
...: print i
...:
...:
0
1
2
3
In [2]: for i in range(4):
print i
------> print(i)
------------------------------------------------------------
IndentationError: expected an indented block (<ipython console>, line 2)
Thanks!
The text was updated successfully, but these errors were encountered:
I'm now on a Mac OS X with 0.10.1 and the problems seems to be fixed (though the display of indentation leaves something to be desired. . .the "print i" line does not appear indented, even though it is.
I don't think there's much we can do about the display - all the text comes from readline, and we don't get a chance to insert our prompt into it. In 0.11, you get individual lines by pressing up, so you press enter in between and get the ...: continuation prompt.
I'm sure I'm missing something here, but I was wondering why scrolling up through indentation breaks everything? In particular, it seems like this should never happen:
In [1]: for i in range(4):
...: print i
...:
...:
0
1
2
3
Thanks!
The text was updated successfully, but these errors were encountered: