Roundup Tracker - Issues

Message8464

Author rouilj
Recipients rouilj
Date 2026-07-29.15:09:12
Message-id <1785337752.98.0.899686136443.issue2551419@roundup-tracker.org>
In-reply-to
Since python 3, __ne__ is defined in terms of __eq__ by the default object class.

It looks like 2 classes in security.py and password.py define an __ne__ as:

   return not self.__eq__(other)

so these two defs can be removed.

The other instances define __ne__ in terms of cmp, return False or add isinstance()
checks before using != operator.
History
Date User Action Args
2026-07-29 15:09:13rouiljsetrecipients: + rouilj
2026-07-29 15:09:12rouiljsetmessageid: <1785337752.98.0.899686136443.issue2551419@roundup-tracker.org>
2026-07-29 15:09:12rouiljlinkissue2551419 messages
2026-07-29 15:09:12rouiljcreate