[issue23326] Remove redundant __ne__ implementations

Serhiy Storchaka report at bugs.python.org
Mon Jan 26 22:34:40 CET 2015


New submission from Serhiy Storchaka:

As far as default __ne__ implementation delegates to __eq__, concrete __ne__ implementations are mostly redundant. They make sens when default __ne__ did not handle non-comparable types correctly, but now it is fixed. Proposed patch removes correct but redundant __ne__ implementations (incorrect implementations were removed in issue21408).

----------
components: Library (Lib)
files: remove___ne__.patch
keywords: patch
messages: 234779
nosy: serhiy.storchaka, vadmium
priority: normal
severity: normal
stage: patch review
status: open
title: Remove redundant __ne__ implementations
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file37869/remove___ne__.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23326>
_______________________________________


More information about the Python-bugs-list mailing list