Changes between Version 2 and Version 3 of Ticket #21894


Ignore:
Timestamp:
11/18/16 05:30:52 (5 years ago)
Author:
saraedum
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21894 – Description

    v2 v3  
    1616* A restored pickle contains a `PickledMethod` which is not considered the same as the `CachedMethodCaller(NoArgs)` in the original object.
    1717
     18Interestingly, almost all these cases, do not implement `__ne__` which makes `!=` not the negation of `==`. Also, most do not implement `__hash__`, or implement it incorrectly,
     19
    1820The instances which use this in their implementations of `__cmp__` seem to be limited to `doctest/`. There, such an implementation should be fine:
    1921{{{