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

Make --strict-equality stricter with literals #7310

Merged
merged 2 commits into from Aug 9, 2019

Conversation

@ilevkivskyi
Copy link
Collaborator

commented Aug 9, 2019

Fixes #6672

A possible downside is that error messages may be scarier for new users, but on the other hand maybe more people will learn about Literal.

Ivan Levkivskyi added 2 commits Aug 9, 2019
@ilevkivskyi ilevkivskyi requested review from msullivan and Michael0x2a Aug 9, 2019
Copy link
Collaborator

left a comment

I like this

@msullivan msullivan merged commit 4ff341f into python:master Aug 9, 2019
2 checks passed
2 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@ilevkivskyi ilevkivskyi deleted the ilevkivskyi:strict-eq-literals branch Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.