Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] bpo-37579: Improve equality behavior for pure Python datetime and time (GH-14726) #14745

Merged
merged 1 commit into from
Jul 14, 2019

Conversation

tirkarthi
Copy link
Member

@tirkarthi tirkarthi commented Jul 13, 2019

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
(cherry picked from commit e6b46aa)

Co-authored-by: Xtreak tir.karthi@gmail.com

https://bugs.python.org/issue37579

…nd time (pythonGH-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
(cherry picked from commit e6b46aa)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
@tirkarthi
Copy link
Member Author

@pganssle The issue was closed as resolved. Could this also be merged?

@pganssle
Copy link
Member

@tirkarthi Oh sorry, I thought Miss Islington did the merges automatically on CI pass after approval.

@tirkarthi
Copy link
Member Author

No problem, Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants