[3.7] bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726) (GH-14745)
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](https://bugs.python.org/issue37579)
(cherry picked from commit
e6b46aafad3427463d6264a68824df4797e682f1)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
https://bugs.python.org/issue37579