#4974: [with patch, needs work] make sage.libs.pari.gen._normalize_slice a
miscellaneous function for dealing with slices
--------------------+-------------------------------------------------------
 Reporter:  jason   |        Owner:  craigcitro
     Type:  defect  |       Status:  assigned  
 Priority:  major   |    Milestone:  sage-3.3  
Component:  misc    |   Resolution:            
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by jason):

 There are several nice things about the above.  First, python handles all
 of the weird corner cases so that everything is consistent.  Second, you
 can use xrange to get an iterator over the indices instead of the list.
 Third, you avoid one more function call.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4974#comment:15>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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