]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-112125: Fix None.__ne__(None) returning NotImplemented instead of … (#112827)
authorVictor Stinner <vstinner@python.org>
Thu, 7 Dec 2023 13:41:00 +0000 (14:41 +0100)
committerGitHub <noreply@github.com>
Thu, 7 Dec 2023 13:41:00 +0000 (13:41 +0000)
commitf27271619e7606338d194d669bbab4823517f7be
tree8c6bb67022e7456935ec1b7465c9a53f236e9f0a
parente21a7a976a7e3368dc1eba0895e15c47cb06c810
[3.12] gh-112125: Fix None.__ne__(None) returning NotImplemented instead of … (#112827)

gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False (#112504)

(cherry picked from commit 9c3458e05865093dd55d7608810a9d0ef0765978)

Co-authored-by: andrewluotechnologies <44252973+andrewluotechnologies@users.noreply.github.com>
Include/internal/pycore_typeobject.h
Lib/test/test_builtin.py
Misc/NEWS.d/next/Core and Builtins/2023-12-07-13-19-55.gh-issue-112125.4ADN7i.rst [new file with mode: 0644]
Objects/object.c
Objects/typeobject.c