Otherwise, some typeshed directory could be considered as a package and name would be resolved to it even if the corresponding python package is not installed (PyTypeShed.maySearchForStubInRoot is ignored in this case).
GitOrigin-RevId: c453b28655b710f092c9ece3d868a0ee5141c0dd
Rewritten it in Kotlin and transformed mutable build-style API to a
more functional immutable version. It should become easier to extend
the PyQualifiedNameResolveContext and the
PyResolveImportUtil.resolveQualfiedName() in order to add resolve to
Python stub files by default.