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

fix: return False if axis do not support protocol instead of raising #631

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

jonas-eschle
Copy link
Contributor

Closes #626

(I removed the type: ignore as mypy complained, if that was needed for something, I'll add it back)

@github-actions github-actions bot added the needs changelog Might need a changelog entry label Aug 19, 2021
@jonas-eschle jonas-eschle requested a review from henryiii August 19, 2021 12:24
@henryiii
Copy link
Member

Curious, I wonder if MyPy is smarter about this now, it used to not be able to infer that a hasattr enabled later code to use that attr.

jonas-eschle and others added 2 commits August 19, 2021 10:11
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@github-actions github-actions bot removed the needs changelog Might need a changelog entry label Aug 19, 2021
@henryiii henryiii merged commit 1ca471e into develop Aug 19, 2021
@henryiii henryiii deleted the jonas_fix_axis_eq branch August 19, 2021 17:45
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.

[BUG] axis equality comparison errors with different types
2 participants