#13043: dir(RIF) contains duplicates
-----------------------------------+----------------------------------------
Reporter: saraedum | Owner: nthiery
Type: defect | Status: needs_review
Priority: trivial | Milestone: sage-5.1
Component: categories | Resolution:
Keywords: beginner sd40.5 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Julian Rueth | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Comment (by mhansen):
Replying to [comment:5 roed]:
> Rather than this fix I would prefer fixing dir(self.__class__) to return
a sorted list (currently 'Hom' is first), and to sort self.__dict__.keys()
before passing it to `unique_merge` (note that all of the duplicated keys
in this case come from self.__dict__.keys(), since dir(cls) is almost
sorted).
Is this just for performance reasons?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13043#comment:6>
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.