-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: offsets normalize and __eq__ #17689
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
Comments
this is probably a bug. we want to compare all params (though that is not entirely cheap). |
Great. I'll add it to the tslibs TODO list. Don't worry about the cheapness; even without the cythonizing, there are some pretty significant speedups in the pipeline. |
Does fixing the normalize comparison count as a breaking change that needs some special treatment, or can I just go ahead and fix it? |
Closed by #21404 |
Two otherwise-identical
DateOffset
objects with differentnormalize
attributes evaluate to equal. But they do not behave equivalently:These objects should not be considered equal. If there's consensus, I'll make a PR.
The text was updated successfully, but these errors were encountered: