#12093: Replace __getslice__ with functionality in __getitem__ in several files
(part 2)
-------------------------+--------------------------------------------------
   Reporter:  aapitzsch  |          Owner:  GeorgSWeber   
       Type:  defect     |         Status:  needs_review  
   Priority:  major      |      Milestone:  sage-4.8      
  Component:  build      |       Keywords:                
Work_issues:             |       Upstream:  N/A           
   Reviewer:             |         Author:  André Apitzsch
     Merged:             |   Dependencies:                
-------------------------+--------------------------------------------------

Comment(by fbissey):

 Replying to [comment:7 aapitzsch]:
 > ''list'' is a subclass of ''Sequence_generic'' hence
 ''Sequence_generic'' inherit {{{__*slice__}}} from ''list''. I have to
 overwrite these {{{__*slice__}}} functions as long as Sage uses python 2.*
 otherwise the {{{__*slice__}}} functions of ''list'' are called.

 An unfortunate fact but you are correct. At least the code for it is
 minimal and will be easily removable when needed. Could you please add a
 comment documenting what you said just before {{{__getslice__}} in the
 code? That would be very helpful for future reference.

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