Skip to content

pyvsc-run-isolated.py removes ALL items from path! #16295

@p-baum

Description

@p-baum

I dont know why but changing the following line from:

sys.path[:] = (p for p in sys.path if p != "" and normalize(p) != cwd)

to use list comprehension like so:

sys.path[:] = [p for p in sys.path if p != "" and normalize(p) != cwd]

produces the desired behaviour.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions