Skip to content

gh-85588: Restore the __ne__() method in Set and Mapping#141366

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:collections-abc-Set-Mapping-ne
Open

gh-85588: Restore the __ne__() method in Set and Mapping#141366
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:collections-abc-Set-Mapping-ne

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Nov 10, 2025

Set it to object.ne.
This guarantees that the != operator is consistent with the == operator, even if the ne method was defined in other parent class.

Set it to object.__ne__.
This guarantees that the != operator is consistent with the == operator,
even if the __ne__ method was defined in other parent class.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 2, 2026
@serhiy-storchaka serhiy-storchaka added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants