Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2021

Conversation

karrtikr
Copy link

@karrtikr karrtikr commented Jun 4, 2021

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