Changes between Version 33 and Version 34 of Ticket #19016


Ignore:
Timestamp:
08/15/15 19:41:18 (5 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19016

    • Property Summary changed from A more naive sage.structure.element.__hash__ to Better hash for Element and CategoryObject
    • Property Milestone changed from sage-duplicate/invalid/wontfix to sage-6.9
  • Ticket #19016 – Description

    v33 v34  
    1 As reported on sage-devel [1], the default hash function implemented in `Element` (as `return hash(str(self)))`) causes a lot of troubles
     1As reported on sage-devel [1], both `Element` and `CategoryObject` implement their hash based on their string representation. This causes a lot of troubles
    22
    33- it breaks the {{{equality => same hash}}} assumption for finitely presented groups