#12719: Upgrade to IPython 0.13
----------------------------------------------------------+-----------------
       Reporter:  kini                                    |         Owner:  tbd 
                                  
           Type:  enhancement                             |        Status:  
needs_work                            
       Priority:  critical                                |     Milestone:  
sage-5.1                              
      Component:  packages                                |    Resolution:      
                                  
       Keywords:  sd40.5                                  |   Work issues:  ?? 
doesn't show code                  
Report Upstream:  N/A                                     |     Reviewers:  
Volker Braun, Mike Hansen, Jason Grout
        Authors:  Mike Hansen, Volker Braun, Jason Grout  |     Merged in:      
                                  
   Dependencies:                                          |      Stopgaps:      
                                  
----------------------------------------------------------+-----------------

Comment (by jason):

 Fernando:  I looked in the IPython source, and it seems that IPython is a
 little more subtle than mentioned above.  By default, it only executes the
 last block as interactive (compile in 'single' mode) ''if it is an
 expression''. In Sage, we (by default) execute the last block always in
 'single' mode.  I think that is the difference here.

 Given that (and if I understood correctly), could you explain again your
 reasoning for choosing to not compile in 'single' mode if it isn't an
 expression?

 Note to self for future reference: `for i in range(10): i` invokes
 sys.displayhook 10 times to display i if compiled in 'single' mode.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12719#comment:76>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to