Skip to content

Invalidate the cache if disallow_incomplete_defs changes #5414

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 3 commits into from
Aug 3, 2018
Merged

Invalidate the cache if disallow_incomplete_defs changes #5414

merged 3 commits into from
Aug 3, 2018

Conversation

asottile
Copy link
Contributor

@asottile asottile commented Aug 1, 2018

Resolves #5413

@asottile
Copy link
Contributor Author

asottile commented Aug 1, 2018

@gvanrossum took your advice from #5413 (comment)

I also sorted the list, I can rebase that out if it's undesirable :)

@gvanrossum
Copy link
Member

gvanrossum commented Aug 1, 2018 via email

@asottile
Copy link
Contributor Author

asottile commented Aug 1, 2018

I'm not super familiar with the test suite but I'll try and take a look at that later. I've added the comment as suggested. I also don't really know what it means to be "per-module" so I'm not sure how to test that part -- open to suggestions though :)

@gvanrossum
Copy link
Member

gvanrossum commented Aug 1, 2018 via email

@gvanrossum
Copy link
Member

Thanks -- let me know if you are going to add tests. Also, please don't amend or squash commits -- we'll squash them when we land, but during the review process it's easier if you create and push new local commits.

@asottile
Copy link
Contributor Author

asottile commented Aug 2, 2018

ah yeah, still trying to figure out the tests. I'm not really finding any other integration tests for the caching stuff or I'm not looking in the right spot. does the test framework used in ./test-data support multiple invocations of mypy? (didn't find any examples at a glance but to be honest I wasn't looking all that exhaustively)

@gvanrossum
Copy link
Member

gvanrossum commented Aug 2, 2018 via email

@gvanrossum gvanrossum merged commit 2714daf into python:master Aug 3, 2018
@gvanrossum
Copy link
Member

Thanks!

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