#8926: Family cannot completely handle a class as an argument
-----------------------------+----------------------------------------------
   Reporter:  saliola        |       Owner:  sage-combinat
       Type:  defect         |      Status:  new          
   Priority:  major          |   Milestone:  sage-4.4.2   
  Component:  combinatorics  |    Keywords:               
     Author:                 |    Upstream:  N/A          
   Reviewer:                 |      Merged:               
Work_issues:                 |  
-----------------------------+----------------------------------------------
 {{{
 sage: F = Family(NonNegativeIntegers(), PerfectMatchings)
 sage: F
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)
 ...
 /home/saliola/Applications/sage-4.4/local/lib/python2.6/site-
 packages/sage/sets/family.pyc in _repr_(self)
     873             name = name+"(i)"
     874         else:
 --> 875             name = self.function.__repr__()
     876             if isinstance(self.function, AttrCallObject):
     877                 name = "i"+name[1:]

 TypeError: descriptor '__repr__' of
 'sage.structure.sage_object.SageObject' object needs an argument
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8926>
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