Skip to content

Provide an option to not change the selected interpreter when it doesn't exist #22523

Open
@brettcannon

Description

@brettcannon

As noted by @ambv and @pablogsal in episode 3 of their core.py podcast, it's problematic when you select a Python interpreter that you're actively developing as the interpreter to use. This is because when you rebuild Python it will eventually delete the interpreter. The deletion triggers the extension to immediately look for another interpreter to fill in the gaps. This causes issue for Python core developers when they try to navigate to code and they end up in some installed interpreter's stdlib instead of the one they are actively working on.

Probably some setting that doesn't automatically switch the selected interpreter even if it doesn't exist would solve the issue. That way we can just pick back up when it exists again and just continue on working.

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentscommunity askFeature request that the community expressed interest infeature-requestRequest for new features or functionalityneeds PRReady to be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions