Skip to content

COMPAT: tzawareness behavior to be same as datetime #31239

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

Closed
wants to merge 5 commits into from

Conversation

ShaharNaveh
Copy link
Member

@ShaharNaveh
Copy link
Member Author

cc @jbrockmendel

self._assert_tzawareness_compat(other)
if op not in [Py_EQ, Py_NE]:
self._assert_tzawareness_compat(other)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we dont have tzawareness compat here, then eq should be False and ne should be True, i.e. dont just fall through to cmp_scalar here

@jbrockmendel
Copy link
Member

BTW, i think once this is done we can get rid of some (all?) uses of comp_method_OBJECT_ARRAY

@WillAyd
Copy link
Member

WillAyd commented Feb 12, 2020

@MomIsBestFriend still active? Can you try to get CI passing?

@ShaharNaveh
Copy link
Member Author

@WillAyd I don't know if this is still active, I am not totally familiar with the code base, and this might been not the right issue to take, might be out of my level, I think I'll close this, due to the fact I can't really solve it. sorry for the waste of time.

@ShaharNaveh ShaharNaveh deleted the tzawre-diff-stdlib branch February 14, 2020 09:00
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.

COMPAT: tzawareness check behavior is different from stdlib
3 participants