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
Support extension modules built in-place #197
Comments
This is b/c we do not watch the workspace paths. If we did't we'd be reloading modules on each file save including temp backups VS Code creates. The solution needs mechanism on what to watch and what to ignore in order to determine what changed in the importable set. |
any update? the completion support for such module works in native python shell. why it has problem with the language server? |
@shelper there's no update and development of MPLS has mostly moved over to Pylance at this point. |
similar problem. a C module (*.so lib file) can dynamic detected by ipython, but vscode cannot |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
microsoft/vscode-python#2466
If you do
python3 setup.py build_ext --inplace
fore.g. _hellomodule.c
on maOS you end up with a_hello.cpython-37m-darwin.so
file in the same directory assetup.py
. The language server is not picking the module up for analysis even though it can be imported thanks to being in the current working directory.The text was updated successfully, but these errors were encountered: