Hi Fernando,

A user reported this bug: http://trac.sagemath.org/sage_trac/ticket/6650

They think

  1;

shouldn't print anything since it doesn't on the command line.

In IPython indeed it doesn't print anything.  But in *Python* it does
print something:

bash$ ipython
Python 2.6.2 (r262:71600, Jan 16 2010, 00:50:02)
Type "copyright", "credits" or "license" for more information.

IPython 0.9.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: 1;
In [2]:

Do you really want to exit ([y]/n)? y

bash$ python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1;
1

....

SO, now I think this is a bug in *IPython*, not the sage notebook.
What do you think?

-- 
William Stein
Associate 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

Reply via email to