Skip to content

Revert reveal_type message fix #3267

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 27, 2017
Merged

Conversation

pkch
Copy link
Contributor

@pkch pkch commented Apr 27, 2017

Fix #3259.

#3202, #3232, #3259 were all caused by a feature introduced in #3107 that changed reveal_type message from _importlib_modulespec.ModuleType to types.ModuleType etc. My attempts to fix those issues with #3205 and #3235 were no good. I revert #3205 and #3235, and the feature itself.

@pkch
Copy link
Contributor Author

pkch commented Apr 27, 2017

Also fixes #3236 by deleting all the code in question.

@ilevkivskyi
Copy link
Member

I tried this with both crash scenarios and in both Python 2 and Python 3 modes (also combinations of PY2 in first -i run and PY3 in second run etc.) I looks like indeed both crashes are fixed by this PR.

Lets hope this will finally fix the problems (in any case the renaming code looks too ad-hoc, so I am glad to remove it).

@gvanrossum
Copy link
Member

Thanks! I can no longer repro this in our own codebase either.

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.

assert failing in lookup_qualified_node with -i/--incremental
3 participants