Opened 11 years ago
Closed 11 years ago
#8926 closed defect (fixed)
Family cannot completely handle a class as an argument
Reported by: | saliola | Owned by: | hivert |
---|---|---|---|
Priority: | major | Milestone: | sage-4.4.4 |
Component: | combinatorics | Keywords: | |
Cc: | sage-combinat | Merged in: | sage-4.4.4.alpha0 |
Authors: | Florent Hivert | Reviewers: | Nicolas M. Thiéry |
Report Upstream: | N/A | Work issues: | hivert |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
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
Attachments (1)
Change History (5)
Changed 11 years ago by
comment:1 Changed 11 years ago by
- Status changed from new to needs_review
- Work issues set to hivert
comment:2 Changed 11 years ago by
- Reviewers set to Nicolas M. Thiéry
- Status changed from needs_review to positive_review
comment:3 Changed 11 years ago by
- Owner changed from sage-combinat to hivert
comment:4 Changed 11 years ago by
- Merged in set to sage-4.4.4.alpha0
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
From a private e-mail from Nicolas M. Thiéry:
We had a all tests passed on the server massena. Therefore I allow myself to put a positive review on behalf of Nicolas.