Changes between Initial Version and Version 2 of Ticket #21995


Ignore:
Timestamp:
11/29/16 23:35:59 (5 years ago)
Author:
saraedum
Comment:

New commits:

0d0f55dImplement _richcmp_ and __hash__ for PoorManMap

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21995

    • Property Commit changed from to 0d0f55d089dd299bfd36b6b441f142e2fbdd8fd8
    • Property Branch changed from to u/saraedum/fix_comparison_operators_of_poormanmap
  • Ticket #21995 – Description

    initial v2  
    11PoorManMap currently only implements `__eq__` but not `__hash__` nor `__neq__`.
    22
    3 This ticket implements `_richcmp_` and `__hash__` instead of `__eq__` and makes `__eq__` not rely on comparison of `__dict__` which does not work anymore when introducing `@cached_method`s in PoorManMap, see #21894.
     3This ticket implements `_richcmp_` and `__hash__` instead of `__eq__` and makes `_richcmp_` not rely on comparison of `__dict__` which does not work anymore when introducing `@cached_method`s in PoorManMap, see #21894.