#169: slice assignment not implemented for PARI C library interface
-------------------------+--------------------------------------------------
 Reporter:  was          |        Owner:  craigcitro
     Type:  enhancement  |       Status:  new       
 Priority:  minor        |    Milestone:  sage-3.2.1
Component:  interfaces   |   Resolution:            
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by mabshoff):

  * owner:  was => craigcitro
  * status:  reopened => new

Comment:

 Indeed:
 {{{
 [EMAIL PROTECTED]:/scratch/mabshoff/release-cycle/sage-3.2.rc1$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 3.2.rc0, Release Date: 2008-11-10                     |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------

 sage: s=pari.vector(2,[0,0])
 sage: s[:1]
 [0]
 sage: s[:1]=[1]
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

 /scratch/mabshoff/release-cycle/sage-3.2.rc1/<ipython console> in
 <module>()

 /scratch/mabshoff/release-cycle/sage-3.2.rc1/local/lib/python2.5/site-
 packages/sage/libs/pari/gen.so in sage.libs.pari.gen.gen.__setitem__
 (sage/libs/pari/gen.c:6394)()

 TypeError: int() argument must be a string or a number, not 'slice'
 sage:
 }}}

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