Comment #2 on issue 2594 by asmeurer: Better handling of multi-line statements at SymPy Live
http://code.google.com/p/sympy/issues/detail?id=2594
Ah, you're right. I forgot about things like automatic continuation with unclosed parentheses. I think the solution you suggest would work.
Would we have to change it so that it works like Python or IPython where you need an extra newline to finish a function definition? Like
def f(x):
... return x ... -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.