KEMBAR78
Invoke get_dynamic_class_hook on method calls by syastrov · Pull Request #7990 · python/mypy · GitHub
Skip to content

Conversation

syastrov
Copy link
Contributor

I would like to see this merged, and don't know if @mkurnikov has time to follow up, so I decided to make a PR based on his, which implements the suggestions from the review comments.
#7704

@ilevkivskyi I have implemented your suggestions (as far as I understand them), but I'm not sure how to test that they are working.

Fixes #7266

mkurnikov and others added 2 commits October 12, 2019 02:58
- A RefExpr (including MemberExpr) with a non-None full name should always take precedence.
- Check that MyManager can be used as an annotation for a function argument.
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!

@ilevkivskyi ilevkivskyi merged commit 20b60b5 into python:master Nov 23, 2019
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.

get_dynamic_class_hook for method calls

3 participants