Changes between Initial Version and Version 1 of Ticket #25393


Ignore:
Timestamp:
05/18/18 09:38:13 (3 years ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25393 – Description

    initial v1  
    33This is one of the classes impacted by the issue raised [https://trac.sagemath.org/ticket/25387#comment:3 in this comment].
    44
    5 I'm not sure what the best solution is.  Right now I feel like it's somewhat ill-defined, because it's possible to have two `ContinuousMaps` that compare as equal, but have different hashes.  That's not necessarily wrong, but it isn't obviously right either.
     5I'm not sure what the best solution is.  Right now I feel like it's somewhat ill-defined, because it's possible to have two `ContinuousMaps` that compare as equal, but have different hashes.  That's not necessarily wrong, but it isn't obviously right either.  If two instances of the same class have the same hash, they must also be equal to each other with `==`.  Technically I believe you can get away with the inverse--having different hashes but equivalent via `==`--but it's not advisable and is a bad smell.