#10933: time of magma command fails inside function
-------------------------------+--------------------------------------------
   Reporter:  mariah           |       Owner:  was            
       Type:  defect           |      Status:  positive_review
   Priority:  major            |   Milestone:  sage-4.7       
  Component:  interfaces       |    Keywords:                 
     Author:  Maarten Derickx  |    Upstream:  N/A            
   Reviewer:  Martin Raum      |      Merged:                 
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by ThomasKluyver):

 We're looking at a way to make %time evaluate things in the correct scope,
 but in the current ipython trunk, auto-magics (like "time" without the %)
 are only used in single-line inputs. So you'd have to do:

 {{{
 def f(x):
     %time gp(x)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10933#comment:6>
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