Jacob Walls
Jacob Walls
Thanks, free free to reopen if you can provide a reproducer. Cheers.
@Pierre-Sassoulas is it too confusing that we made a limited exception for the last if consisting of the "exact same test"? Should we just always emit a message?
> Sorry I did not remember about this. I suppose undertanding that if an arbitrarily complex conditional is true another arbitrarily complex conditional is also true might be useful in...
Okay, right. I guess we could check for the absence of any other assignments to `a` in between `if a` and `if a and ...` before deciding that `if a...
Thanks so much @zenlyj, is this ready for review?
I'll handle the Home Assistant false positive in another PR.
> we should probably raise a message here? Good catch, I'm fine with opening a new issue for it. I think it should be real UBA, not "possibly".
Thanks for catching that we're not catching exceptions thrown by `_infer()` inside `infer_from_values()`. But re: the inconsistencies between raising and returning a partial string seem like something we should resolve...
I see from #89754 that this is invalid/poor usage if you know in advance that there's a resource under `a/`, but probably ~`None` is the better outcome?~ the correct outcome...
Thanks for taking a look @serhiy-storchaka. The result I get with #98100 is the result when the `a/b.py` file is not present, namely the path to the `/b` directory. What...