KEMBAR78
Fix constraint inference for non-invariant instances by ilevkivskyi · Pull Request #5817 · python/mypy · GitHub
Skip to content

Conversation

ilevkivskyi
Copy link
Member

Fixes #2035

Note that in two tests we now infer object instead of giving an error. This may be not what a user expects, but I think this is still OK, and after #3816 mypy will always ask for an annotation in such cases.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

LGTM. I'd suggest checking this against internal Dropbox codebases before merging.

@ilevkivskyi
Copy link
Member Author

Internal codebase is clean.

@ilevkivskyi ilevkivskyi merged commit 2b71c2f into python:master Oct 22, 2018
@ilevkivskyi ilevkivskyi deleted the fix-infer-generic branch October 22, 2018 15:43
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.

2 participants