Ticket #9048 (new defect)
semicolon does not suppress output in the notebook
| Reported by: | zimmerma | Owned by: | jason, was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.10 |
| Component: | notebook | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
In the text version of Sage, var('x'); does not print anything. However, in the notebook, it prints x, even with the ; that should prevent output. This is quite annoying. Is there a reason for that?
Change History
Note: See
TracTickets for help on using
tickets.

Changed the title to identify the underlying issue. Note that 1+2; also prints out something in the notebook, but not in the command line.
My guess is that it is a convention in ipython, since a semicolon does nothing in just plain python: