Skip to content

Repository files navigation

symbolic.package

This repository demonstrates the Pylance error when we have a symbolic link in python.analysis.extraPaths

See:

microsoft/pylance-release#131

See that python.analysis.extraPaths points to the lib folder

lib/my is a symbolic link to .lib/my

Use:

git clone https://github.com/wesleybl/symbolic.package
cd symbolic.package
code .

Open the src/symbolic/package/__init__.py file and type:

import my

The autocomplete will not work, because lib/my is a symbolic link.

If we type:

import real

The autocomplete will work, because lib/real is a real folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages