SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726)

Returns NotImplemented for timedelta and time in __eq__ for different types in Python implementation, which matches the C implementation.

This also adds tests to enforce that these objects will fall back to the right hand side's __eq__ and/or __ne__ implementation.

bpo-37579
X
Xtreak committed
e6b46aafad3427463d6264a68824df4797e682f1
Parent: 05f2d84
Committed by Paul Ganssle <pganssle@users.noreply.github.com> on 7/13/2019, 1:22:21 PM