Repository navigation
Make --ignore-missing-imports less strict - #5228
Merged
Merged
Conversation
JukkaL
approved these changes
Jun 18, 2018
JukkaL
left a comment
Collaborator
There was a problem hiding this comment.
Looks good to me. This makes import semantics across different forms of imports more consistent and predictable.
Have you verified that doesn't break anything in internal Dropbox codebases?
Member
Author
Not yet, I will check this in next few hours, I will merge if |
Member
|
Of course testpr will fail, since it already fails with the current master.
:-( Maybe you can compare the errors you get without and with this PR.
…On Mon, Jun 18, 2018, 06:37 Ivan Levkivskyi ***@***.***> wrote:
Have you verified that doesn't break anything in internal Dropbox
codebases?
Not yet, I will check this in next few hours, I will merge if testpr
passes.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5228 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACwrMoHxrSY9iCkTBt6vD47QthDt0N10ks5t960ogaJpZM4UqsHF>
.
|
Collaborator
|
Is there any documentation that should be updated along with this? |
Member
Author
This is a good idea, I will add some docs. |
Member
Author
|
I was finally able to check, this passes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5226
Currently,
import existing_package.non_existing_mod(with--ignore-missing-imports) allows subsequentbut doesn't allow a direct call
With this change both are allowed. This doesn't solve the problem of partial packages, but makes
--ignore-missing-importsmore consistent with the flag name IMO.