#7400: Element does not copy its __dict__ when copied, ElementWrapper does not
copy the wrapped values when copied
----------------------+-----------------------------------------------------
   Reporter:  hivert  |       Owner:  hivert              
       Type:  defect  |      Status:  needs_info          
   Priority:  major   |   Milestone:  sage-4.3.1          
  Component:  misc    |    Keywords:  copy, ElementWrapper
Work_issues:          |      Author:  Florent Hivert      
   Upstream:  N/A     |    Reviewer:  Nicolas M. ThiƩry   
     Merged:          |  
----------------------+-----------------------------------------------------

Comment(by hivert):

 Replying to [comment:9 nthiery]:
 > Replying to [comment:8 hivert]:
 > > I uploaded a new patch which is ready for review. Please apply only
 {{{trac_7400-element_copy_fh.patch}}}.
 > >
 > > Florent
 >
 > Is there a reason not to use  {{{super(Element, self).__copy__()}}} in
 Element.__copy__?

 A very good one:
 {{{
    AttributeError: 'super' object has no attribute '__copy__'
 }}}

 Florent

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