#10963: More functorial constructions
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner: stumpc5
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: categories | Resolution:
Keywords: days54 | Merged in:
Authors: Nicolas M. Thiéry | Reviewers: Simon King, Frédéric
Report Upstream: N/A | Chapoton
Branch: | Work issues:
public/ticket/10963 | Commit:
Dependencies: #11224, #8327, | 0c907cf81efeb9bd2d0a44f73539c4e32583c1be
#10193, #12895, #14516, #14722, | Stopgaps:
#13589, #14471, #15069, #15094, |
#11688, #13394, #15150, #15506 |
-------------------------------------+-------------------------------------
Comment (by nbruin):
Replying to [comment:218 SimonKing]:
> Why is there no proper commit message? Is this stuff from here? Have I
really been the reviewer of this change `:-\`?
Yep ... It's right there at the end of [attachment:trac_10963
-more_functorial_constructions-nt.patch]
{{{
diff --git a/sage/structure/unique_representation.py
b/sage/structure/unique_representation.py
--- a/sage/structure/unique_representation.py
+++ b/sage/structure/unique_representation.py
@@ -29,7 +29,7 @@ AUTHORS:
# http://www.gnu.org/licenses/
#******************************************************************************
-from sage.misc.cachefunc import weak_cached_function
+from sage.misc.cachefunc import cached_function
from sage.misc.classcall_metaclass import ClasscallMetaclass, typecall
from sage.misc.fast_methods import WithEqualityById
@@ -428,7 +428,7 @@ class CachedRepresentation:
_included_private_doc_ = ["__classcall__"]
- @weak_cached_function # automatically a staticmethod
+ @cached_function # automatically a staticmethod
def __classcall__(cls, *args, **options):
"""
Constructs a new object of this class or reuse an existing one.
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/10963#comment:219>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.