#13530: Hide sage/gsl/interpolation/Spline internals
---------------------------------------+------------------------------------
       Reporter:  jvkersch             |         Owner:  jason, jkantor
           Type:  defect               |        Status:  needs_review  
       Priority:  major                |     Milestone:  sage-5.4      
      Component:  numerical            |    Resolution:                
       Keywords:  spline, gsl          |   Work issues:                
Report Upstream:  N/A                  |     Reviewers:                
        Authors:  Joris Vankerschaver  |     Merged in:                
   Dependencies:  #13519, #13520       |      Stopgaps:                
---------------------------------------+------------------------------------

Comment (by tscrim):

 Could you change the doctest to show that the list is a copy such as
 {{{
 sage: S = spline([(1,1), (2,3), (4,5)])
 sage: L = S.list(); L
 [(1, 1), (2, 3), (4, 5)]
 sage: L[2] = (3, 2)
 sage: L
 [(1, 1), (2, 3), (3, 2)]
 sage: S.list()
 [(1, 1), (2, 3), (4, 5)]
 }}}
 showing the change and testing it?

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