diff --git a/src/client/common/terminal/service.ts b/src/client/common/terminal/service.ts index 1fef20b0c8f3..5be7aed6fadc 100644 --- a/src/client/common/terminal/service.ts +++ b/src/client/common/terminal/service.ts @@ -102,7 +102,6 @@ export class TerminalService implements ITerminalService, Disposable { }); await promise; } - // TODO: need to use sendText for Python3.13 as well. const config = getConfiguration('python'); const pythonrcSetting = config.get('terminal.shellIntegration.enabled'); @@ -117,7 +116,7 @@ export class TerminalService implements ITerminalService, Disposable { const pythonVersion = interpreterInfo && interpreterInfo.version ? interpreterInfo.version.raw : undefined; const isPython313 = pythonVersion?.startsWith('3.13'); - if (isPythonShell && (!pythonrcSetting || isWindows() || isWsl() || isPython313)) { + if (isPythonShell && (!pythonrcSetting || isWindows() || isPython313)) { // If user has explicitly disabled SI for Python, use sendText for inside Terminal REPL. terminal.sendText(commandLine); return undefined;