Skip to content

Ensure selected interpreter doesn't change when the extension is loading when in experiment#16391

Merged
karrtikr merged 2 commits into
microsoft:mainfrom
karrtikr:halahala
Jun 4, 2021
Merged

Ensure selected interpreter doesn't change when the extension is loading when in experiment#16391
karrtikr merged 2 commits into
microsoft:mainfrom
karrtikr:halahala

Conversation

@karrtikr

@karrtikr karrtikr commented Jun 4, 2021

Copy link
Copy Markdown

Closes #16291 closes https://github.com/microsoft/vscode-python-internalbacklog/issues/263 Could potentially fix #16197 and https://github.com/microsoft/vscode-python-internalbacklog/issues/256.

Due to design issues that are not trivial to address, configuration settings are initialized in the constructor when creating the classes, when experiment service is not activated.

We need to initialize it again once experiments service is activated before we can access the pythonPath setting using it, which was the bug.

@karrtikr karrtikr marked this pull request as ready for review June 4, 2021 01:33
@karrtikr karrtikr merged commit 46fb826 into microsoft:main Jun 4, 2021
@karrtikr karrtikr deleted the halahala branch June 4, 2021 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants