On 2011-04-19 14:40, Fredrik Johansson wrote:
> Hi all,
>
> Maybe it's just me, but I find it terribly annoying that one cannot
> paste code fragments containing indentation in a Sage terminal
> session, as one can with the ordinary Python interpreter. Simple
> example:
>
> def f(x):
> if x =
Hi all,
Maybe it's just me, but I find it terribly annoying that one cannot
paste code fragments containing indentation in a Sage terminal
session, as one can with the ordinary Python interpreter. Simple
example:
def f(x):
if x == 1:
return 2
return 1
>>> def f(x):
... if x =