#13400: Use strong caches diligently
-------------------------------+--------------------------------------------
Reporter: nbruin | Owner: robertwb
Type: enhancement | Status: new
Priority: major | Milestone: sage-wishlist
Component: coercion | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by nthiery):
Replying to [comment:9 SimonKing]:
> I just notice: Apparently in your example, the is_subcategory
> function is not the usual one (sage/categories/category.py), but the
> one in sage/categories/covariant_functorial_construction.py.
>
> It says
> {{{
> #!python
> def is_subcategory(self, C):
> """
> .. todo:: doctests + explain why this method is needed
> """
> if C is self:
> return True
> return any(X.is_subcategory(C) for X in self._super_categories)
> }}}
> Actually I wonder why is it needed, myself.
>
> Nicolas, is it not possible to use the default is_subcategory, by
#11943?
Oops, honestly I don't remember at all; I should have done this todo!
I am actually surprised that it went into Sage with this comment in.
In any cases: if all tests pass after removing this method, please go
ahead.
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13400#comment:13>
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.