-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
None __ne__ behavior changes in 3.12 #112125
Copy link
Copy link
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)release-blockertype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
Bug report
Bug description:
In 3.11,
None.__ne__(None)returnedFalsebut in 3.12 it returnsNotImplemented. This is a breaking behavior change that is either a bug or should be documented.CPython versions tested on:
3.11, 3.12
Operating systems tested on:
Windows
Linked PRs