Changes between Version 2 and Version 3 of Ticket #21894
- Timestamp:
- 11/18/16 05:30:52 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21894 – Description
v2 v3 16 16 * A restored pickle contains a `PickledMethod` which is not considered the same as the `CachedMethodCaller(NoArgs)` in the original object. 17 17 18 Interestingly, 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 18 20 The instances which use this in their implementations of `__cmp__` seem to be limited to `doctest/`. There, such an implementation should be fine: 19 21 {{{