File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
src/client/common/terminal Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ export class TerminalService implements ITerminalService, Disposable {
105105 }
106106 const config = getConfiguration ( 'python' ) ;
107107 const pythonrcSetting = config . get < boolean > ( 'terminal.shellIntegration.enabled' ) ;
108- // const pythonVersion = await this.getPythonVersion();
109- // const isPython313 = pythonVersion?.startsWith('3.13');
110108
111109 let isPython313 = false ;
112110 if ( this . options && this . options . resource ) {
@@ -192,17 +190,4 @@ export class TerminalService implements ITerminalService, Disposable {
192190 interpreterType,
193191 } ) ;
194192 }
195-
196- // private async getPythonVersion(): Promise<string | undefined> {
197- // const pythonPath = this.serviceContainer
198- // .get<IConfigurationService>(IConfigurationService)
199- // .getSettings(this.options?.resource).pythonPath;
200- // const interpreterInfo =
201- // this.options?.interpreter ||
202- // (await this.serviceContainer
203- // .get<IInterpreterService>(IInterpreterService)
204- // .getInterpreterDetails(pythonPath));
205- // const pythonVersion = interpreterInfo && interpreterInfo.version ? interpreterInfo.version.raw : undefined;
206- // return pythonVersion;
207- // }
208193}
You can’t perform that action at this time.
0 commit comments