On Sun, Nov 3, 2013 at 2:29 AM, Christophe Bal <projet...@gmail.com> wrote: > Hello. > > I think that is not good to have an error with the following code. >
You're right; this is a bug in Sagemath Cloud's block parser. I've added it to the issue tracker: https://github.com/sagemath/cloud/issues/46 William > ---------------------------------------- > for i in range(10): > # Here is a basic comment... > print i, "-->", i**2 > ---------------------------------------- > > The error due to the comment is the following one. > > Error in lines 1-1 Traceback (most recent call last): File > "/mnt/home/pjXx5pJx/.sagemathcloud/sage_server.py", line 633, in execute > exec compile(block+'\n', '', 'single') in namespace, locals File "<string>", > line 1 for i in range(Integer(10)): ^ SyntaxError: unexpected EOF while > parsing > > > Just add a space before # and everything is ok... Too weird... > This should be fixed. > > Best regards. > C. > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/groups/opt_out. -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.