#169: [with patch, needs work] slice assignment not implemented for PARI C
library interface
-------------------------+--------------------------------------------------
 Reporter:  was          |        Owner:  craigcitro
     Type:  enhancement  |       Status:  assigned  
 Priority:  minor        |    Milestone:  sage-3.2.1
Component:  interfaces   |   Resolution:            
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by jason):

  * summary:  [with patch, needs review] slice assignment not implemented
              for PARI C library interface => [with patch,
              needs work] slice assignment not implemented
              for PARI C library interface

Comment:

 First, __setslice__ is deprecated: http://www.python.org/doc/2.5.2/ref
 /sequence-methods.html

 Instead, check for a slice object in the __setitem__ function.

 Also, the slice could have a step as well:

 {{{
 sage: a=[1,2,3,4,5,6,7,8,9]
 sage: a[2:8:2]
 [3, 5, 7]
 }}}

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