#13299: Fix slice and __getitem__ methods of padics
--------------------------------+-------------------------------------------
       Reporter:  saraedum      |         Owner:  roed        
           Type:  defect        |        Status:  needs_review
       Priority:  minor         |     Milestone:  sage-5.3    
      Component:  padics        |    Resolution:              
       Keywords:                |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:  Julian Rueth  |     Merged in:              
   Dependencies:                |      Stopgaps:              
--------------------------------+-------------------------------------------

Comment (by robharron):

 When I tried to apply this on top of version 5.2 nothing happened. Now,
 I've never tried to apply anyone else's patch, so maybe I'm just
 incompetent. But here are a few comments (having not tried the patch):

 For LocalGenericElement:[[BR]]
 -line 55 should say "nonnegative integers `l`"[[BR]]
 -line 89 should say "if `i` exceeds `j`"[[BR]]
 -I think it would be nice if there was some relative version of slicing.
 Maybe by adding a True/False parameter like "relative". Then, j would
 represent a length rather than an absolute cutoff. This would allow a
 slice that keep a certain number of "significant digits".

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