#16037: Hash value of Family is based on string representation
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.2
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/combinat/hash_family-16037 | 44ae929f513bb00df4dc006d3888a9e597263264
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by tscrim):
* status: new => needs_review
* commit: => 44ae929f513bb00df4dc006d3888a9e597263264
* branch: => public/combinat/hash_family-16037
Old description:
> Which can cause equality without hash equality. The proposed fix is to
> make the keys into a frozen set if finite or hash they keys for lazy
> families.
New description:
Which can cause equality without hash equality. The proposed fix is to
hash the frozenset of the keys and the `repr` of the values into a frozen
set if finite, or hash the keys and the function name for lazy families.
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=44ae929f513bb00df4dc006d3888a9e597263264
44ae929]||{{{Hash function for families.}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/16037#comment:2>
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/d/optout.