Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A hot fix for crash in internal repos #4927

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 2 commits into from
Apr 18, 2018
Merged

Conversation

ilevkivskyi
Copy link
Member

No description provided.

@ilevkivskyi ilevkivskyi requested a review from JukkaL April 18, 2018 13:30
mypy/fixup.py Outdated
# Not yet: assert '.' in head, "Cannot find %s" % (name,)
stale = stale_info(modules)
stale.fallback_to_any = True
return stale
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should return a SymbolTableNode, not TypeInfo.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, indeed. Will fix

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.

Feel free to merge if the build passes.

@ilevkivskyi ilevkivskyi merged commit 025e3de into python:master Apr 18, 2018
@ilevkivskyi ilevkivskyi deleted the hot-fix branch April 18, 2018 13:47
msullivan added a commit that referenced this pull request Apr 18, 2018
msullivan added a commit that referenced this pull request Apr 24, 2018
JukkaL pushed a commit that referenced this pull request Apr 26, 2018
#4931)

This reverts #4927 and fixes the (a?) bug that it was working around.

Previously, mangled local fullnames were only computed if the class was directly inside a function, and not for nested classes inside a function.
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