#19016: Better hash for Element
---------------------------------+--------------------------
       Reporter:  ncohen         |        Owner:
           Type:  defect         |       Status:  needs_work
       Priority:  blocker        |    Milestone:  sage-6.9
      Component:  misc           |   Resolution:
       Keywords:                 |    Merged in:
        Authors:  Nathann Cohen  |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:  public/19016   |       Commit:
   Dependencies:  #18246         |     Stopgaps:
---------------------------------+--------------------------
Changes (by vdelecroix):

 * commit:  829d9cc04c024620af19922ebb91ffded223712a =>
 * branch:  u/nbruin/19016 => public/19016


Comment:

 I am not sure I do like your changes to the unit tests in categories. The
 zero/one values are cached most of the time. If it was to be mutable then
 a Sage user might end up with a wrong unit by doing
 {{{
 sage: S = MyStructure()
 sage: e = S.one()
 sage: e.change_something()
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/19016#comment:45>
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.

Reply via email to