Make ';' suppresion of output optional

Bug #509864 reported by Fernando Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Confirmed
Undecided
Unassigned

Bug Description

We supress output when an input line ends with ';', in contrast to how python itself works. Make it possible for the user to optionally disable this.

The code is in prompts.py, around line 548 (as of 2010/01/19):

           # do not print output if input ends in ';'
           try:
               if self.input_hist[self.prompt_count].endswith(';\n'):
                   return
           except IndexError:
               # some uses of ipshellembed may fail here
               pass

Reported by Sage, for reference: http://trac.sagemath.org/sage_trac/ticket/6650.

Changed in ipython:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.