summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-07-13 18:52:21 +0530
committerPaul Ganssle <pganssle@users.noreply.github.com>2019-07-13 15:22:21 +0200
commite6b46aafad3427463d6264a68824df4797e682f1 (patch)
treecc2003bc4716eee6e44f4a77cc3f2d5dd0f82d6f /Python/Python-ast.c
parent05f2d84cae4ba1ff15b7a1d0347305393f4bdcc5 (diff)
downloadcpython-git-e6b46aafad3427463d6264a68824df4797e682f1.tar.gz
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
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions