This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
With caching enabled, analysis message in status bar never completes; numpy/pandas completions don't work #1569
Comments
I then go to the end of that file, and add: import numpy as np After a couple of seconds I see: and the number never goes down. The additional logs are:
|
So far its possible the only issue is that the status bar message is misleading. But now I do: np. and the completions I am shown are names at the global scope. Logs from this part:
|
I think this is actually the same as #1601 too. |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
These are probably dups and arguably should be two issues but filing as one as they may be related.
Repros with caching set to System or Library. Things work okay when caching is disabled.
tl;dr: status bar spinner never ends and with "pd." or "np." on Pandas or numpy I get global level completions, not package level.
As the logs are long, I am splitting this report up over separate comments to make it easier to separate the stages.
I have the pytest repo checked out at commit 55b78ff780caf822bec63d7690d146cbaabda818, and I have the repo directory open in VS Code.
LS version 0.4.20 through 0.4.22; not sure when it started)
OS: MacOS 10.14.6
VSC version: 1.38.1
Python extension version: 2019.9.34911
Python version 3.7.3
I open a file such as src/_pytest/outcomes.py (I don't think it really matters; I can repro this with Pandas too in a much smaller file of my own creation).
At the end I see:
and that number never goes down.
The trace logs are:
The text was updated successfully, but these errors were encountered: