+1 to robert, the preparser should just behave like the python standard here.
In regular python you can make your code multiline if the parser is expecting a closing ), } or ] If you don't have an unmatched [,{ or ( then you can also make it multiline by adding a \ Note that this behaviour also fails currently: T(r,t)=[r^2, \ t^2] gives 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 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org