#8120: UniqueRepresentation and hash value
------------------------------+---------------------------------------------
Reporter: hivert | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone:
Component: algebra | Keywords: UniqueRepresentation hash
Author: Florent Hivert | Upstream: N/A
Reviewer: Paul Zimmerman | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Comment(by nthiery):
Replying to [comment:13 hivert]:
> Nicolas (and also Paul), you didn't comment about the following thought:
>
> However, since we are in {{{UniqueRepresentations}}} we could use
{{{__classcall__}}} which knows the parameters that constructed the object
to insert into the created object the hash value of those parameters in
the same veins it insert some stuff needed for pickling/unpickling. Any
comment about that ?
That sounds good. We should probably include the class of the object in
the hash calculation.
> Anyway, whatever is decided, I suggest to keep it for a forthcomming
ticket, since it can raise some backward compatibility issues...
Yup.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8120#comment:14>
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.