You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Since typeshed root is not in the path resolver snapshot, os stub is unable to resolve path submodule since it uses
from . importpathaspath
This causes
importosos.path.
not to show any completions. Works in 3.x.
Also, for stubs it may be worth resolving stub module first and then real module if the stub is missing. I.e. if A is a stub, import B should resolve to a stub for B and only if stub for B is not found, resolve to real B. This should improve performance of the analysis.
Test: OsPathMembers, Python 2.7
The text was updated successfully, but these errors were encountered:
Since typeshed root is not in the path resolver snapshot,
os
stub is unable to resolvepath
submodule since it usesThis causes
not to show any completions. Works in 3.x.
Also, for stubs it may be worth resolving stub module first and then real module if the stub is missing. I.e. if A is a stub, import B should resolve to a stub for B and only if stub for B is not found, resolve to real B. This should improve performance of the analysis.
Test:
OsPathMembers
, Python 2.7The text was updated successfully, but these errors were encountered: