Why the new ticket when #11401 is already open on this? John
On Mon, May 30, 2011 at 8:56 PM, William Stein <wst...@gmail.com> wrote: > On Mon, May 30, 2011 at 9:15 AM, Nils Bruin <nbr...@sfu.ca> wrote: >> This will probably help the person who is going to track down this >> bug: It's not just in the notebook and it looks like newlines in the >> input knock the interface out of sync (but not always!) The following >> example fails reliably for me: >> >> sage: magma.execute("a:=1;b:=2;") >> '' >> sage: magma.execute("print a,b;") >> '1 2' >> sage: magma.execute("""a:=1; >> ....: b:=2;""") >> 'b:=2;' >> sage: magma.execute("print a,b;") >> '' >> >> The first two lines work as expected. The third line seems to ruin it >> (that "b:=2;" should be executed, not echoed) and after that nothing >> works >> > > It might be clearer to express your failing test case as: > > sage: magma.eval("a:=2;\nb:=3;\nprint a,b;") > 'b:=3;\nprint a,b;' > > instead of the expected > > sage: magma.eval("a:=2;\nb:=3;\nprint a,b;") > '2 3' > > Where the latter is to be expected since > > Magma V2.17-4 Mon May 30 2011 12:54:51 on deep [Seed = 2436835871] > Type ? for help. Type <Ctrl>-D to quit. >> a :=2; >> b :=3; >> print a,b; > 2 3 > > > This is now http://trac.sagemath.org/sage_trac/ticket/11405 > > > >> -- >> 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 >> > > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > > -- > 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 > -- 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