Skip to content

Disable --strict-equality inside functions that have type variables with value restrictions #7304

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

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

ilevkivskyi
Copy link
Member

Fixes #6735

The fix may produce some false negatives, since I use the same simple way of fixing as for --warn-unreachable.

@ilevkivskyi ilevkivskyi requested a review from msullivan August 8, 2019 15:59
@ilevkivskyi ilevkivskyi merged commit 6c11ce8 into python:master Aug 8, 2019
@ilevkivskyi ilevkivskyi deleted the strict-eq-restrict branch August 8, 2019 16:50
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.

--strict-equality should be disabled in functions with constrained type variables
2 participants