Skip to content

Fix crash in --quick mode when aliases are re-exported #3740

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 1 commit into from
Jul 19, 2017

Conversation

ilevkivskyi
Copy link
Member

Fixes #3355

This happens since dependencies in --quick mode are not rechecked, therefore we need to put something in place of the outdated values.

In general, I could imagine there are similar problems with outdated values in --quick mode, so that it is better to move towards fine grained incremental, that actually rechecks dependencies.

@gvanrossum gvanrossum merged commit bc45237 into python:master Jul 19, 2017
@gvanrossum
Copy link
Member

Wow it's beautiful! (Especially the test. Amazing that you could repro that from those tracebacks.)

@ilevkivskyi ilevkivskyi deleted the fix-new-quick-crash branch July 19, 2017 19:30
@ilevkivskyi
Copy link
Member Author

Amazing that you could repro that from those tracebacks

Thanks! This is why I became a scientist -- I like to investigate, but it turns out there are interesting cases for investigations not only in science :-)

gvanrossum pushed a commit to gvanrossum/mypy that referenced this pull request Jul 24, 2017
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