It probably could, we'd just have to have a notion of a non-breaking
linebreak (e.g. inside parens). It is already set up to handle the
fact that it gets lines one at a time from iPython.
- Robert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_14.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("VChyLHQpPVtyXjIsIFwKICAgIHReMl0="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/private/var/folders/F+/F+xRBxXCG8mKGpPo2zG+i++++TI/-Tmp-/tmph7BaW0/___code___.py", line 3
__tmp__=var("r,t"); T = symbolic_expression([r**_sage_const_2 , * BackslashOperator() * ).function(r,t)
^
SyntaxError: invalid syntax