mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
* Fix a dysfunctional assertion, comparing a wrong PSI file. * Assert that the resolve result is a file or a directory. "os" from the standard library actually resolves to a directory in Typeshed, so getContainingFile() call on it led to an NPE. * Remove __init__.py from the directory where the same directory import is performed. It better reflects the future policy when imports from explicit packages have priority of absolute resolve results, while imports from plain directories have priority of same directory results (see PY-45114). GitOrigin-RevId: 5262032a38e653ce9114402fbb710aedfd278773