Skip to content

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