├── .eslintrc.json
├── .gitattributes
├── .github
├── renovate.json
└── workflows
│ └── CI.yml
├── .gitignore
├── .npmrc
├── .prettierignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── babel.config.js
├── dist
├── debugger
│ ├── RemoteDebuggerCommandService.js
│ ├── VendorLib
│ │ └── vs-py-debugger
│ │ │ ├── LICENSE
│ │ │ ├── out
│ │ │ ├── client
│ │ │ │ ├── activation
│ │ │ │ │ ├── activationService.js
│ │ │ │ │ ├── downloadChannelRules.js
│ │ │ │ │ ├── downloader.js
│ │ │ │ │ ├── hashVerifier.js
│ │ │ │ │ ├── interpreterDataService.js
│ │ │ │ │ ├── jedi.js
│ │ │ │ │ ├── languageServer
│ │ │ │ │ │ ├── languageServer.js
│ │ │ │ │ │ ├── languageServerFolderService.js
│ │ │ │ │ │ ├── languageServerHashes.js
│ │ │ │ │ │ ├── languageServerPackageRepository.js
│ │ │ │ │ │ └── languageServerPackageService.js
│ │ │ │ │ ├── platformData.js
│ │ │ │ │ ├── progress.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── api.js
│ │ │ │ ├── application
│ │ │ │ │ ├── diagnostics
│ │ │ │ │ │ ├── applicationDiagnostics.js
│ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ ├── checks
│ │ │ │ │ │ │ ├── envPathVariable.js
│ │ │ │ │ │ │ ├── invalidDebuggerType.js
│ │ │ │ │ │ │ ├── invalidPythonPathInDebugger.js
│ │ │ │ │ │ │ ├── powerShellActivation.js
│ │ │ │ │ │ │ └── pythonInterpreter.js
│ │ │ │ │ │ ├── commands
│ │ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ │ ├── execVSCCommand.js
│ │ │ │ │ │ │ ├── factory.js
│ │ │ │ │ │ │ ├── ignore.js
│ │ │ │ │ │ │ ├── launchBrowser.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── filter.js
│ │ │ │ │ │ ├── promptHandler.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── common
│ │ │ │ │ ├── application
│ │ │ │ │ │ ├── applicationEnvironment.js
│ │ │ │ │ │ ├── applicationShell.js
│ │ │ │ │ │ ├── commandManager.js
│ │ │ │ │ │ ├── debugService.js
│ │ │ │ │ │ ├── documentManager.js
│ │ │ │ │ │ ├── extensions.js
│ │ │ │ │ │ ├── terminalManager.js
│ │ │ │ │ │ ├── types.js
│ │ │ │ │ │ ├── webPanel.js
│ │ │ │ │ │ ├── webPanelProvider.js
│ │ │ │ │ │ └── workspace.js
│ │ │ │ │ ├── configSettingMonitor.js
│ │ │ │ │ ├── configSettings.js
│ │ │ │ │ ├── configuration
│ │ │ │ │ │ └── service.js
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── contextKey.js
│ │ │ │ │ ├── editor.js
│ │ │ │ │ ├── envFileParser.js
│ │ │ │ │ ├── errors
│ │ │ │ │ │ ├── errorUtils.js
│ │ │ │ │ │ └── moduleNotInstalledError.js
│ │ │ │ │ ├── extensions.js
│ │ │ │ │ ├── featureDeprecationManager.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── installer
│ │ │ │ │ │ ├── channelManager.js
│ │ │ │ │ │ ├── condaInstaller.js
│ │ │ │ │ │ ├── moduleInstaller.js
│ │ │ │ │ │ ├── pipEnvInstaller.js
│ │ │ │ │ │ ├── pipInstaller.js
│ │ │ │ │ │ ├── productInstaller.js
│ │ │ │ │ │ ├── productNames.js
│ │ │ │ │ │ ├── productPath.js
│ │ │ │ │ │ ├── productService.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── logger.js
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── restTextConverter.js
│ │ │ │ │ ├── net
│ │ │ │ │ │ ├── browser.js
│ │ │ │ │ │ ├── httpClient.js
│ │ │ │ │ │ └── socket
│ │ │ │ │ │ │ ├── SocketStream.js
│ │ │ │ │ │ │ ├── socketCallbackHandler.js
│ │ │ │ │ │ │ └── socketServer.js
│ │ │ │ │ ├── nuget
│ │ │ │ │ │ ├── azureBlobStoreNugetRepository.js
│ │ │ │ │ │ ├── nugetRepository.js
│ │ │ │ │ │ ├── nugetService.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── open.js
│ │ │ │ │ ├── persistentState.js
│ │ │ │ │ ├── platform
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── fileSystem.js
│ │ │ │ │ │ ├── osinfo.js
│ │ │ │ │ │ ├── pathUtils.js
│ │ │ │ │ │ ├── platformService.js
│ │ │ │ │ │ ├── registry.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── process
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── currentProcess.js
│ │ │ │ │ │ ├── decoder.js
│ │ │ │ │ │ ├── proc.js
│ │ │ │ │ │ ├── processFactory.js
│ │ │ │ │ │ ├── pythonExecutionFactory.js
│ │ │ │ │ │ ├── pythonProcess.js
│ │ │ │ │ │ ├── pythonToolService.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── terminal
│ │ │ │ │ │ ├── activator
│ │ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── powershellFailedHandler.js
│ │ │ │ │ │ ├── commandPrompt.js
│ │ │ │ │ │ ├── environmentActivationProviders
│ │ │ │ │ │ │ ├── baseActivationProvider.js
│ │ │ │ │ │ │ ├── bash.js
│ │ │ │ │ │ │ ├── commandPrompt.js
│ │ │ │ │ │ │ ├── condaActivationProvider.js
│ │ │ │ │ │ │ └── pyenvActivationProvider.js
│ │ │ │ │ │ ├── factory.js
│ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ ├── service.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ ├── util.js
│ │ │ │ │ ├── utils
│ │ │ │ │ │ ├── async.js
│ │ │ │ │ │ ├── decorators.js
│ │ │ │ │ │ ├── enum.js
│ │ │ │ │ │ ├── fs.js
│ │ │ │ │ │ ├── localize.js
│ │ │ │ │ │ ├── logging.js
│ │ │ │ │ │ ├── misc.js
│ │ │ │ │ │ ├── platform.js
│ │ │ │ │ │ ├── random.js
│ │ │ │ │ │ ├── stopWatch.js
│ │ │ │ │ │ ├── string.js
│ │ │ │ │ │ ├── sysTypes.js
│ │ │ │ │ │ ├── text.js
│ │ │ │ │ │ └── version.js
│ │ │ │ │ └── variables
│ │ │ │ │ │ ├── environment.js
│ │ │ │ │ │ ├── environmentVariablesProvider.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ ├── sysTypes.js
│ │ │ │ │ │ ├── systemVariables.js
│ │ │ │ │ │ └── types.js
│ │ │ │ ├── datascience
│ │ │ │ │ ├── codeCssGenerator.js
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── dataScienceSurveyBanner.js
│ │ │ │ │ ├── datascience.js
│ │ │ │ │ ├── editor-integration
│ │ │ │ │ │ ├── codelensprovider.js
│ │ │ │ │ │ └── codewatcher.js
│ │ │ │ │ ├── history.js
│ │ │ │ │ ├── historyProvider.js
│ │ │ │ │ ├── historycommandlistener.js
│ │ │ │ │ ├── jupyterExecution.js
│ │ │ │ │ ├── jupyterImporter.js
│ │ │ │ │ ├── jupyterInstallError.js
│ │ │ │ │ ├── jupyterProcess.js
│ │ │ │ │ ├── jupyterServer.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── statusProvider.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── debugger
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── debugAdapter
│ │ │ │ │ │ ├── Common
│ │ │ │ │ │ │ ├── Contracts.js
│ │ │ │ │ │ │ ├── Utils.js
│ │ │ │ │ │ │ ├── debugStreamProvider.js
│ │ │ │ │ │ │ ├── processServiceFactory.js
│ │ │ │ │ │ │ ├── protocolLogger.js
│ │ │ │ │ │ │ ├── protocolParser.js
│ │ │ │ │ │ │ └── protocolWriter.js
│ │ │ │ │ │ ├── DebugClients
│ │ │ │ │ │ │ ├── DebugClient.js
│ │ │ │ │ │ │ ├── DebugFactory.js
│ │ │ │ │ │ │ ├── LocalDebugClient.js
│ │ │ │ │ │ │ ├── RemoteDebugClient.js
│ │ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ │ ├── launcherProvider.js
│ │ │ │ │ │ │ ├── localDebugClientV2.js
│ │ │ │ │ │ │ └── nonDebugClientV2.js
│ │ │ │ │ │ ├── DebugServers
│ │ │ │ │ │ │ ├── BaseDebugServer.js
│ │ │ │ │ │ │ ├── LocalDebugServerV2.js
│ │ │ │ │ │ │ └── RemoteDebugServerv2.js
│ │ │ │ │ │ ├── main.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── extension
│ │ │ │ │ │ ├── banner.js
│ │ │ │ │ │ ├── configProviders
│ │ │ │ │ │ │ ├── baseProvider.js
│ │ │ │ │ │ │ ├── configurationProviderUtils.js
│ │ │ │ │ │ │ ├── pythonV2Provider.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── hooks
│ │ │ │ │ │ │ ├── childProcessAttachHandler.js
│ │ │ │ │ │ │ ├── childProcessAttachService.js
│ │ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ │ ├── eventHandlerDispatcher.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── extension.js
│ │ │ │ ├── formatters
│ │ │ │ │ ├── autoPep8Formatter.js
│ │ │ │ │ ├── baseFormatter.js
│ │ │ │ │ ├── blackFormatter.js
│ │ │ │ │ ├── dummyFormatter.js
│ │ │ │ │ ├── helper.js
│ │ │ │ │ ├── lineFormatter.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── yapfFormatter.js
│ │ │ │ ├── interpreter
│ │ │ │ │ ├── configuration
│ │ │ │ │ │ ├── interpreterComparer.js
│ │ │ │ │ │ ├── interpreterSelector.js
│ │ │ │ │ │ ├── pythonPathUpdaterService.js
│ │ │ │ │ │ ├── pythonPathUpdaterServiceFactory.js
│ │ │ │ │ │ ├── services
│ │ │ │ │ │ │ ├── globalUpdaterService.js
│ │ │ │ │ │ │ ├── workspaceFolderUpdaterService.js
│ │ │ │ │ │ │ └── workspaceUpdaterService.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── display
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── progressDisplay.js
│ │ │ │ │ │ └── shebangCodeLensProvider.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── interpreterService.js
│ │ │ │ │ ├── interpreterVersion.js
│ │ │ │ │ ├── locators
│ │ │ │ │ │ ├── helpers.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── progressService.js
│ │ │ │ │ │ └── services
│ │ │ │ │ │ │ ├── KnownPathsService.js
│ │ │ │ │ │ │ ├── baseVirtualEnvService.js
│ │ │ │ │ │ │ ├── cacheableLocatorService.js
│ │ │ │ │ │ │ ├── conda.js
│ │ │ │ │ │ │ ├── condaEnvFileService.js
│ │ │ │ │ │ │ ├── condaEnvService.js
│ │ │ │ │ │ │ ├── condaHelper.js
│ │ │ │ │ │ │ ├── condaService.js
│ │ │ │ │ │ │ ├── currentPathService.js
│ │ │ │ │ │ │ ├── globalVirtualEnvService.js
│ │ │ │ │ │ │ ├── interpreterWatcherBuilder.js
│ │ │ │ │ │ │ ├── pipEnvService.js
│ │ │ │ │ │ │ ├── windowsRegistryService.js
│ │ │ │ │ │ │ ├── workspaceVirtualEnvService.js
│ │ │ │ │ │ │ └── workspaceVirtualEnvWatcherService.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── virtualEnvs
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── types.js
│ │ │ │ ├── ioc
│ │ │ │ │ ├── container.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── serviceManager.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── jupyter
│ │ │ │ │ └── provider.js
│ │ │ │ ├── language
│ │ │ │ │ ├── braceCounter.js
│ │ │ │ │ ├── characterStream.js
│ │ │ │ │ ├── characters.js
│ │ │ │ │ ├── iterableTextRange.js
│ │ │ │ │ ├── textBuilder.js
│ │ │ │ │ ├── textIterator.js
│ │ │ │ │ ├── textRangeCollection.js
│ │ │ │ │ ├── tokenizer.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── unicode.js
│ │ │ │ ├── languageServices
│ │ │ │ │ ├── jediProxyFactory.js
│ │ │ │ │ ├── languageServerSurveyBanner.js
│ │ │ │ │ └── proposeLanguageServerBanner.js
│ │ │ │ ├── linters
│ │ │ │ │ ├── bandit.js
│ │ │ │ │ ├── baseLinter.js
│ │ │ │ │ ├── errorHandlers
│ │ │ │ │ │ ├── baseErrorHandler.js
│ │ │ │ │ │ ├── errorHandler.js
│ │ │ │ │ │ ├── notInstalled.js
│ │ │ │ │ │ └── standard.js
│ │ │ │ │ ├── flake8.js
│ │ │ │ │ ├── linterAvailability.js
│ │ │ │ │ ├── linterCommands.js
│ │ │ │ │ ├── linterInfo.js
│ │ │ │ │ ├── linterManager.js
│ │ │ │ │ ├── lintingEngine.js
│ │ │ │ │ ├── mypy.js
│ │ │ │ │ ├── pep8.js
│ │ │ │ │ ├── prospector.js
│ │ │ │ │ ├── pydocstyle.js
│ │ │ │ │ ├── pylama.js
│ │ │ │ │ ├── pylint.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── codeActionsProvider.js
│ │ │ │ │ ├── completionProvider.js
│ │ │ │ │ ├── completionSource.js
│ │ │ │ │ ├── definitionProvider.js
│ │ │ │ │ ├── docStringFoldingProvider.js
│ │ │ │ │ ├── formatProvider.js
│ │ │ │ │ ├── hoverProvider.js
│ │ │ │ │ ├── importSortProvider.js
│ │ │ │ │ ├── itemInfoSource.js
│ │ │ │ │ ├── jediProxy.js
│ │ │ │ │ ├── linterProvider.js
│ │ │ │ │ ├── objectDefinitionProvider.js
│ │ │ │ │ ├── providerUtilities.js
│ │ │ │ │ ├── referenceProvider.js
│ │ │ │ │ ├── renameProvider.js
│ │ │ │ │ ├── replProvider.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── signatureProvider.js
│ │ │ │ │ ├── simpleRefactorProvider.js
│ │ │ │ │ ├── symbolProvider.js
│ │ │ │ │ ├── terminalProvider.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── updateSparkLibraryProvider.js
│ │ │ │ ├── refactor
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ └── proxy.js
│ │ │ │ ├── telemetry
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── terminals
│ │ │ │ │ ├── activation.js
│ │ │ │ │ ├── codeExecution
│ │ │ │ │ │ ├── codeExecutionManager.js
│ │ │ │ │ │ ├── djangoContext.js
│ │ │ │ │ │ ├── djangoShellCodeExecution.js
│ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ ├── repl.js
│ │ │ │ │ │ └── terminalCodeExecution.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── typeFormatters
│ │ │ │ │ ├── blockFormatProvider.js
│ │ │ │ │ ├── codeBlockFormatProvider.js
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── dispatcher.js
│ │ │ │ │ └── onEnterFormatter.js
│ │ │ │ └── workspaceSymbols
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── generator.js
│ │ │ │ │ ├── main.js
│ │ │ │ │ ├── parser.js
│ │ │ │ │ └── provider.js
│ │ │ ├── datascience-ui
│ │ │ │ ├── history-react
│ │ │ │ │ ├── MainPanel.js
│ │ │ │ │ ├── cell.js
│ │ │ │ │ ├── cellButton.js
│ │ │ │ │ ├── code.js
│ │ │ │ │ ├── collapseButton.js
│ │ │ │ │ ├── executionCount.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── mainPanelState.js
│ │ │ │ │ ├── menuBar.js
│ │ │ │ │ └── transforms.js
│ │ │ │ └── react-common
│ │ │ │ │ ├── errorBoundary.js
│ │ │ │ │ ├── locReactSide.js
│ │ │ │ │ ├── postOffice.js
│ │ │ │ │ ├── progress.js
│ │ │ │ │ ├── relativeImage.js
│ │ │ │ │ └── themeDetector.js
│ │ │ ├── server
│ │ │ │ └── dummy.js
│ │ │ └── test
│ │ │ │ ├── ciConstants.js
│ │ │ │ ├── common.js
│ │ │ │ ├── constants.js
│ │ │ │ ├── core.js
│ │ │ │ ├── datascience
│ │ │ │ ├── dataScienceIocContainer.js
│ │ │ │ ├── executionServiceMock.js
│ │ │ │ └── reactHelpers.js
│ │ │ │ ├── debugger
│ │ │ │ ├── common
│ │ │ │ │ └── constants.js
│ │ │ │ ├── debugClient.js
│ │ │ │ └── utils.js
│ │ │ │ ├── functionalTests.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initialize.js
│ │ │ │ ├── interpreters
│ │ │ │ └── mocks.js
│ │ │ │ ├── mockClasses.js
│ │ │ │ ├── mocks
│ │ │ │ ├── mementos.js
│ │ │ │ ├── moduleInstaller.js
│ │ │ │ ├── proc.js
│ │ │ │ ├── process.js
│ │ │ │ └── vsc
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── extHostedTypes.js
│ │ │ │ │ ├── htmlContent.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── position.js
│ │ │ │ │ ├── range.js
│ │ │ │ │ ├── selection.js
│ │ │ │ │ ├── strings.js
│ │ │ │ │ ├── telemetryReporter.js
│ │ │ │ │ └── uri.js
│ │ │ │ ├── nonUiTests.js
│ │ │ │ ├── pythonFiles
│ │ │ │ └── formatting
│ │ │ │ │ └── dummy.js
│ │ │ │ ├── serviceRegistry.js
│ │ │ │ ├── stub.js
│ │ │ │ ├── testRunner.js
│ │ │ │ ├── textUtils.js
│ │ │ │ ├── unittests.js
│ │ │ │ ├── vscode-mock.js
│ │ │ │ └── workspaceSymbols
│ │ │ │ └── common.js
│ │ │ ├── package.json
│ │ │ └── pythonFiles
│ │ │ ├── PythonTools
│ │ │ ├── ptvsd
│ │ │ │ └── __init__.py
│ │ │ ├── testlauncher.py
│ │ │ ├── visualstudio_ipython_repl.py
│ │ │ ├── visualstudio_py_debugger.py
│ │ │ ├── visualstudio_py_launcher.py
│ │ │ ├── visualstudio_py_launcher_nodebug.py
│ │ │ ├── visualstudio_py_repl.py
│ │ │ ├── visualstudio_py_testlauncher.py
│ │ │ └── visualstudio_py_util.py
│ │ │ ├── completion.py
│ │ │ ├── completionServer.py
│ │ │ ├── experimental
│ │ │ ├── ptvsd
│ │ │ │ └── ptvsd
│ │ │ │ │ ├── ThirdPartyNotices.txt
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── __main__.py
│ │ │ │ │ ├── _attach.py
│ │ │ │ │ ├── _local.py
│ │ │ │ │ ├── _remote.py
│ │ │ │ │ ├── _util.py
│ │ │ │ │ ├── _vendored
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── _pydevd_packaging.py
│ │ │ │ │ ├── _util.py
│ │ │ │ │ ├── force_pydevd.py
│ │ │ │ │ └── pydevd
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── .project
│ │ │ │ │ │ ├── .pydevproject
│ │ │ │ │ │ ├── .settings
│ │ │ │ │ │ ├── org.eclipse.core.resources.prefs
│ │ │ │ │ │ └── org.python.pydev.yaml
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── .travis_install_jython_deps.sh
│ │ │ │ │ │ ├── .travis_install_python_deps.sh
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── MANIFEST.in
│ │ │ │ │ │ ├── README.rst
│ │ │ │ │ │ ├── _pydev_bundle
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _pydev_calltip_util.py
│ │ │ │ │ │ ├── _pydev_completer.py
│ │ │ │ │ │ ├── _pydev_filesystem_encoding.py
│ │ │ │ │ │ ├── _pydev_getopt.py
│ │ │ │ │ │ ├── _pydev_imports_tipper.py
│ │ │ │ │ │ ├── _pydev_jy_imports_tipper.py
│ │ │ │ │ │ ├── _pydev_log.py
│ │ │ │ │ │ ├── _pydev_tipper_common.py
│ │ │ │ │ │ ├── fix_getpass.py
│ │ │ │ │ │ ├── pydev_console_utils.py
│ │ │ │ │ │ ├── pydev_import_hook.py
│ │ │ │ │ │ ├── pydev_imports.py
│ │ │ │ │ │ ├── pydev_ipython_console.py
│ │ │ │ │ │ ├── pydev_ipython_console_011.py
│ │ │ │ │ │ ├── pydev_is_thread_alive.py
│ │ │ │ │ │ ├── pydev_localhost.py
│ │ │ │ │ │ ├── pydev_log.py
│ │ │ │ │ │ ├── pydev_monkey.py
│ │ │ │ │ │ ├── pydev_monkey_qt.py
│ │ │ │ │ │ ├── pydev_override.py
│ │ │ │ │ │ ├── pydev_umd.py
│ │ │ │ │ │ └── pydev_versioncheck.py
│ │ │ │ │ │ ├── _pydev_imps
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _pydev_BaseHTTPServer.py
│ │ │ │ │ │ ├── _pydev_SimpleXMLRPCServer.py
│ │ │ │ │ │ ├── _pydev_SocketServer.py
│ │ │ │ │ │ ├── _pydev_execfile.py
│ │ │ │ │ │ ├── _pydev_inspect.py
│ │ │ │ │ │ ├── _pydev_pkgutil_old.py
│ │ │ │ │ │ ├── _pydev_saved_modules.py
│ │ │ │ │ │ ├── _pydev_sys_patch.py
│ │ │ │ │ │ ├── _pydev_uuid_old.py
│ │ │ │ │ │ └── _pydev_xmlrpclib.py
│ │ │ │ │ │ ├── _pydev_runfiles
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydev_runfiles.py
│ │ │ │ │ │ ├── pydev_runfiles_coverage.py
│ │ │ │ │ │ ├── pydev_runfiles_nose.py
│ │ │ │ │ │ ├── pydev_runfiles_parallel.py
│ │ │ │ │ │ ├── pydev_runfiles_parallel_client.py
│ │ │ │ │ │ ├── pydev_runfiles_pytest2.py
│ │ │ │ │ │ ├── pydev_runfiles_unittest.py
│ │ │ │ │ │ └── pydev_runfiles_xml_rpc.py
│ │ │ │ │ │ ├── _pydevd_bundle
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevconsole_code_for_ironpython.py
│ │ │ │ │ │ ├── pydevd_additional_thread_info.py
│ │ │ │ │ │ ├── pydevd_additional_thread_info_regular.py
│ │ │ │ │ │ ├── pydevd_breakpoints.py
│ │ │ │ │ │ ├── pydevd_comm.py
│ │ │ │ │ │ ├── pydevd_command_line_handling.py
│ │ │ │ │ │ ├── pydevd_console.py
│ │ │ │ │ │ ├── pydevd_constants.py
│ │ │ │ │ │ ├── pydevd_custom_frames.py
│ │ │ │ │ │ ├── pydevd_cython.c
│ │ │ │ │ │ ├── pydevd_cython.pyx
│ │ │ │ │ │ ├── pydevd_cython_wrapper.py
│ │ │ │ │ │ ├── pydevd_dont_trace.py
│ │ │ │ │ │ ├── pydevd_dont_trace_files.py
│ │ │ │ │ │ ├── pydevd_exec.py
│ │ │ │ │ │ ├── pydevd_exec2.py
│ │ │ │ │ │ ├── pydevd_extension_api.py
│ │ │ │ │ │ ├── pydevd_extension_utils.py
│ │ │ │ │ │ ├── pydevd_frame.py
│ │ │ │ │ │ ├── pydevd_frame_utils.py
│ │ │ │ │ │ ├── pydevd_import_class.py
│ │ │ │ │ │ ├── pydevd_io.py
│ │ │ │ │ │ ├── pydevd_kill_all_pydevd_threads.py
│ │ │ │ │ │ ├── pydevd_plugin_utils.py
│ │ │ │ │ │ ├── pydevd_process_net_command.py
│ │ │ │ │ │ ├── pydevd_referrers.py
│ │ │ │ │ │ ├── pydevd_reload.py
│ │ │ │ │ │ ├── pydevd_resolver.py
│ │ │ │ │ │ ├── pydevd_save_locals.py
│ │ │ │ │ │ ├── pydevd_signature.py
│ │ │ │ │ │ ├── pydevd_stackless.py
│ │ │ │ │ │ ├── pydevd_trace_api.py
│ │ │ │ │ │ ├── pydevd_trace_dispatch.py
│ │ │ │ │ │ ├── pydevd_trace_dispatch_regular.py
│ │ │ │ │ │ ├── pydevd_traceproperty.py
│ │ │ │ │ │ ├── pydevd_utils.py
│ │ │ │ │ │ ├── pydevd_vars.py
│ │ │ │ │ │ ├── pydevd_vm_type.py
│ │ │ │ │ │ └── pydevd_xml.py
│ │ │ │ │ │ ├── _pydevd_frame_eval
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevd_frame_eval_cython_wrapper.py
│ │ │ │ │ │ ├── pydevd_frame_eval_main.py
│ │ │ │ │ │ ├── pydevd_frame_evaluator.c
│ │ │ │ │ │ ├── pydevd_frame_evaluator.pxd
│ │ │ │ │ │ ├── pydevd_frame_evaluator.pyx
│ │ │ │ │ │ ├── pydevd_frame_tracing.py
│ │ │ │ │ │ └── pydevd_modify_bytecode.py
│ │ │ │ │ │ ├── appveyor.yml
│ │ │ │ │ │ ├── build_tools
│ │ │ │ │ │ ├── build.py
│ │ │ │ │ │ ├── build_binaries_osx.py
│ │ │ │ │ │ ├── build_binaries_windows.py
│ │ │ │ │ │ ├── generate_code.py
│ │ │ │ │ │ ├── names_to_rename.py
│ │ │ │ │ │ ├── pydevd_release_process.txt
│ │ │ │ │ │ └── rename_pep8.py
│ │ │ │ │ │ ├── conftest.py
│ │ │ │ │ │ ├── gradle
│ │ │ │ │ │ └── wrapper
│ │ │ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ │ │ └── gradle-wrapper.properties
│ │ │ │ │ │ ├── gradlew
│ │ │ │ │ │ ├── gradlew.bat
│ │ │ │ │ │ ├── interpreterInfo.py
│ │ │ │ │ │ ├── pycompletionserver.py
│ │ │ │ │ │ ├── pydev_app_engine_debug_startup.py
│ │ │ │ │ │ ├── pydev_coverage.py
│ │ │ │ │ │ ├── pydev_ipython
│ │ │ │ │ │ ├── README
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── inputhook.py
│ │ │ │ │ │ ├── inputhookglut.py
│ │ │ │ │ │ ├── inputhookgtk.py
│ │ │ │ │ │ ├── inputhookgtk3.py
│ │ │ │ │ │ ├── inputhookpyglet.py
│ │ │ │ │ │ ├── inputhookqt4.py
│ │ │ │ │ │ ├── inputhookqt5.py
│ │ │ │ │ │ ├── inputhooktk.py
│ │ │ │ │ │ ├── inputhookwx.py
│ │ │ │ │ │ ├── matplotlibtools.py
│ │ │ │ │ │ ├── qt.py
│ │ │ │ │ │ ├── qt_for_kernel.py
│ │ │ │ │ │ ├── qt_loaders.py
│ │ │ │ │ │ └── version.py
│ │ │ │ │ │ ├── pydev_pysrc.py
│ │ │ │ │ │ ├── pydev_run_in_console.py
│ │ │ │ │ │ ├── pydev_sitecustomize
│ │ │ │ │ │ ├── __not_in_default_pythonpath.txt
│ │ │ │ │ │ └── sitecustomize.py
│ │ │ │ │ │ ├── pydevconsole.py
│ │ │ │ │ │ ├── pydevd.py
│ │ │ │ │ │ ├── pydevd_attach_to_process
│ │ │ │ │ │ ├── README.txt
│ │ │ │ │ │ ├── _always_live_program.py
│ │ │ │ │ │ ├── _check.py
│ │ │ │ │ │ ├── _test_attach_to_process.py
│ │ │ │ │ │ ├── _test_attach_to_process_linux.py
│ │ │ │ │ │ ├── add_code_to_python_process.py
│ │ │ │ │ │ ├── attach_amd64.dll
│ │ │ │ │ │ ├── attach_linux_amd64.so
│ │ │ │ │ │ ├── attach_linux_x86.so
│ │ │ │ │ │ ├── attach_pydevd.py
│ │ │ │ │ │ ├── attach_script.py
│ │ │ │ │ │ ├── attach_x86.dll
│ │ │ │ │ │ ├── attach_x86.dylib
│ │ │ │ │ │ ├── attach_x86_64.dylib
│ │ │ │ │ │ ├── dll
│ │ │ │ │ │ │ ├── attach.cpp
│ │ │ │ │ │ │ ├── attach.h
│ │ │ │ │ │ │ ├── compile_dll.bat
│ │ │ │ │ │ │ ├── python.h
│ │ │ │ │ │ │ ├── stdafx.cpp
│ │ │ │ │ │ │ ├── stdafx.h
│ │ │ │ │ │ │ └── targetver.h
│ │ │ │ │ │ ├── linux
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── attach_linux.c
│ │ │ │ │ │ │ ├── compile_mac.sh
│ │ │ │ │ │ │ ├── compile_so.sh
│ │ │ │ │ │ │ ├── gdb_threads_settrace.py
│ │ │ │ │ │ │ ├── lldb_prepare.py
│ │ │ │ │ │ │ ├── lldb_threads_settrace.py
│ │ │ │ │ │ │ └── python.h
│ │ │ │ │ │ └── winappdbg
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── breakpoint.py
│ │ │ │ │ │ │ ├── compat.py
│ │ │ │ │ │ │ ├── crash.py
│ │ │ │ │ │ │ ├── debug.py
│ │ │ │ │ │ │ ├── disasm.py
│ │ │ │ │ │ │ ├── event.py
│ │ │ │ │ │ │ ├── interactive.py
│ │ │ │ │ │ │ ├── module.py
│ │ │ │ │ │ │ ├── plugins
│ │ │ │ │ │ │ ├── README
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── do_example.py
│ │ │ │ │ │ │ ├── do_exchain.py
│ │ │ │ │ │ │ ├── do_exploitable.py
│ │ │ │ │ │ │ └── do_symfix.py
│ │ │ │ │ │ │ ├── process.py
│ │ │ │ │ │ │ ├── registry.py
│ │ │ │ │ │ │ ├── search.py
│ │ │ │ │ │ │ ├── sql.py
│ │ │ │ │ │ │ ├── system.py
│ │ │ │ │ │ │ ├── textio.py
│ │ │ │ │ │ │ ├── thread.py
│ │ │ │ │ │ │ ├── util.py
│ │ │ │ │ │ │ ├── win32
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── advapi32.py
│ │ │ │ │ │ │ ├── context_amd64.py
│ │ │ │ │ │ │ ├── context_i386.py
│ │ │ │ │ │ │ ├── dbghelp.py
│ │ │ │ │ │ │ ├── defines.py
│ │ │ │ │ │ │ ├── gdi32.py
│ │ │ │ │ │ │ ├── kernel32.py
│ │ │ │ │ │ │ ├── ntdll.py
│ │ │ │ │ │ │ ├── peb_teb.py
│ │ │ │ │ │ │ ├── psapi.py
│ │ │ │ │ │ │ ├── shell32.py
│ │ │ │ │ │ │ ├── shlwapi.py
│ │ │ │ │ │ │ ├── user32.py
│ │ │ │ │ │ │ ├── version.py
│ │ │ │ │ │ │ └── wtsapi32.py
│ │ │ │ │ │ │ └── window.py
│ │ │ │ │ │ ├── pydevd_concurrency_analyser
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevd_concurrency_logger.py
│ │ │ │ │ │ └── pydevd_thread_wrappers.py
│ │ │ │ │ │ ├── pydevd_file_utils.py
│ │ │ │ │ │ ├── pydevd_plugins
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── django_debug.py
│ │ │ │ │ │ ├── extensions
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ └── types
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── pydevd_helpers.py
│ │ │ │ │ │ │ │ ├── pydevd_plugin_numpy_types.py
│ │ │ │ │ │ │ │ └── pydevd_plugins_django_form_str.py
│ │ │ │ │ │ └── jinja2_debug.py
│ │ │ │ │ │ ├── pydevd_tracing.py
│ │ │ │ │ │ ├── pytest.ini
│ │ │ │ │ │ ├── runfiles.py
│ │ │ │ │ │ ├── setup.py
│ │ │ │ │ │ ├── setup_cython.py
│ │ │ │ │ │ └── third_party
│ │ │ │ │ │ ├── isort_container
│ │ │ │ │ │ └── isort
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ │ ├── hooks.py
│ │ │ │ │ │ │ ├── isort.py
│ │ │ │ │ │ │ ├── main.py
│ │ │ │ │ │ │ ├── natural.py
│ │ │ │ │ │ │ ├── pie_slice.py
│ │ │ │ │ │ │ ├── pylama_isort.py
│ │ │ │ │ │ │ └── settings.py
│ │ │ │ │ │ ├── pep8
│ │ │ │ │ │ ├── autopep8.py
│ │ │ │ │ │ ├── lib2to3
│ │ │ │ │ │ │ └── lib2to3
│ │ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ │ ├── Grammar.txt
│ │ │ │ │ │ │ │ ├── PatternGrammar.txt
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ │ │ ├── btm_matcher.py
│ │ │ │ │ │ │ │ ├── btm_utils.py
│ │ │ │ │ │ │ │ ├── fixer_base.py
│ │ │ │ │ │ │ │ ├── fixer_util.py
│ │ │ │ │ │ │ │ ├── fixes
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── fix_apply.py
│ │ │ │ │ │ │ │ ├── fix_basestring.py
│ │ │ │ │ │ │ │ ├── fix_buffer.py
│ │ │ │ │ │ │ │ ├── fix_callable.py
│ │ │ │ │ │ │ │ ├── fix_dict.py
│ │ │ │ │ │ │ │ ├── fix_except.py
│ │ │ │ │ │ │ │ ├── fix_exec.py
│ │ │ │ │ │ │ │ ├── fix_execfile.py
│ │ │ │ │ │ │ │ ├── fix_exitfunc.py
│ │ │ │ │ │ │ │ ├── fix_filter.py
│ │ │ │ │ │ │ │ ├── fix_funcattrs.py
│ │ │ │ │ │ │ │ ├── fix_future.py
│ │ │ │ │ │ │ │ ├── fix_getcwdu.py
│ │ │ │ │ │ │ │ ├── fix_has_key.py
│ │ │ │ │ │ │ │ ├── fix_idioms.py
│ │ │ │ │ │ │ │ ├── fix_import.py
│ │ │ │ │ │ │ │ ├── fix_imports.py
│ │ │ │ │ │ │ │ ├── fix_imports2.py
│ │ │ │ │ │ │ │ ├── fix_input.py
│ │ │ │ │ │ │ │ ├── fix_intern.py
│ │ │ │ │ │ │ │ ├── fix_isinstance.py
│ │ │ │ │ │ │ │ ├── fix_itertools.py
│ │ │ │ │ │ │ │ ├── fix_itertools_imports.py
│ │ │ │ │ │ │ │ ├── fix_long.py
│ │ │ │ │ │ │ │ ├── fix_map.py
│ │ │ │ │ │ │ │ ├── fix_metaclass.py
│ │ │ │ │ │ │ │ ├── fix_methodattrs.py
│ │ │ │ │ │ │ │ ├── fix_ne.py
│ │ │ │ │ │ │ │ ├── fix_next.py
│ │ │ │ │ │ │ │ ├── fix_nonzero.py
│ │ │ │ │ │ │ │ ├── fix_numliterals.py
│ │ │ │ │ │ │ │ ├── fix_operator.py
│ │ │ │ │ │ │ │ ├── fix_paren.py
│ │ │ │ │ │ │ │ ├── fix_print.py
│ │ │ │ │ │ │ │ ├── fix_raise.py
│ │ │ │ │ │ │ │ ├── fix_raw_input.py
│ │ │ │ │ │ │ │ ├── fix_reduce.py
│ │ │ │ │ │ │ │ ├── fix_renames.py
│ │ │ │ │ │ │ │ ├── fix_repr.py
│ │ │ │ │ │ │ │ ├── fix_set_literal.py
│ │ │ │ │ │ │ │ ├── fix_standarderror.py
│ │ │ │ │ │ │ │ ├── fix_sys_exc.py
│ │ │ │ │ │ │ │ ├── fix_throw.py
│ │ │ │ │ │ │ │ ├── fix_tuple_params.py
│ │ │ │ │ │ │ │ ├── fix_types.py
│ │ │ │ │ │ │ │ ├── fix_unicode.py
│ │ │ │ │ │ │ │ ├── fix_urllib.py
│ │ │ │ │ │ │ │ ├── fix_ws_comma.py
│ │ │ │ │ │ │ │ ├── fix_xrange.py
│ │ │ │ │ │ │ │ ├── fix_xreadlines.py
│ │ │ │ │ │ │ │ └── fix_zip.py
│ │ │ │ │ │ │ │ ├── main.py
│ │ │ │ │ │ │ │ ├── patcomp.py
│ │ │ │ │ │ │ │ ├── pgen2
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── conv.py
│ │ │ │ │ │ │ │ ├── driver.py
│ │ │ │ │ │ │ │ ├── grammar.py
│ │ │ │ │ │ │ │ ├── literals.py
│ │ │ │ │ │ │ │ ├── parse.py
│ │ │ │ │ │ │ │ ├── pgen.py
│ │ │ │ │ │ │ │ ├── token.py
│ │ │ │ │ │ │ │ └── tokenize.py
│ │ │ │ │ │ │ │ ├── pygram.py
│ │ │ │ │ │ │ │ ├── pytree.py
│ │ │ │ │ │ │ │ └── refactor.py
│ │ │ │ │ │ └── pycodestyle.py
│ │ │ │ │ │ └── wrapped_for_pydev
│ │ │ │ │ │ ├── ctypes
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _ctypes.dll
│ │ │ │ │ │ ├── _endian.py
│ │ │ │ │ │ ├── ctypes-README.txt
│ │ │ │ │ │ ├── macholib
│ │ │ │ │ │ │ ├── .cvsignore
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── dyld.py
│ │ │ │ │ │ │ ├── dylib.py
│ │ │ │ │ │ │ └── framework.py
│ │ │ │ │ │ ├── util.py
│ │ │ │ │ │ └── wintypes.py
│ │ │ │ │ │ └── not_in_default_pythonpath.txt
│ │ │ │ │ ├── _version.py
│ │ │ │ │ ├── attach_server.py
│ │ │ │ │ ├── daemon.py
│ │ │ │ │ ├── debugger.py
│ │ │ │ │ ├── exit_handlers.py
│ │ │ │ │ ├── futures.py
│ │ │ │ │ ├── ipcjson.py
│ │ │ │ │ ├── pathutils.py
│ │ │ │ │ ├── pydevd_hooks.py
│ │ │ │ │ ├── reraise.py
│ │ │ │ │ ├── reraise2.py
│ │ │ │ │ ├── reraise3.py
│ │ │ │ │ ├── runner.py
│ │ │ │ │ ├── safe_repr.py
│ │ │ │ │ ├── session.py
│ │ │ │ │ ├── socket.py
│ │ │ │ │ ├── untangle.py
│ │ │ │ │ ├── version.py
│ │ │ │ │ └── wrapper.py
│ │ │ ├── ptvsd_launcher.py
│ │ │ └── testlauncher.py
│ │ │ ├── interpreterInfo.py
│ │ │ ├── isort
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── hooks.py
│ │ │ ├── isort.py
│ │ │ ├── main.py
│ │ │ ├── natural.py
│ │ │ ├── pie_slice.py
│ │ │ ├── pylama_isort.py
│ │ │ └── settings.py
│ │ │ ├── jedi
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── _compatibility.py
│ │ │ ├── api
│ │ │ │ ├── __init__.py
│ │ │ │ ├── classes.py
│ │ │ │ ├── completion.py
│ │ │ │ ├── environment.py
│ │ │ │ ├── exceptions.py
│ │ │ │ ├── helpers.py
│ │ │ │ ├── interpreter.py
│ │ │ │ ├── keywords.py
│ │ │ │ ├── project.py
│ │ │ │ └── replstartup.py
│ │ │ ├── cache.py
│ │ │ ├── common
│ │ │ │ ├── __init__.py
│ │ │ │ ├── context.py
│ │ │ │ └── utils.py
│ │ │ ├── debug.py
│ │ │ ├── evaluate
│ │ │ │ ├── __init__.py
│ │ │ │ ├── analysis.py
│ │ │ │ ├── arguments.py
│ │ │ │ ├── base_context.py
│ │ │ │ ├── cache.py
│ │ │ │ ├── compiled
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── access.py
│ │ │ │ │ ├── context.py
│ │ │ │ │ ├── fake.py
│ │ │ │ │ ├── fake
│ │ │ │ │ │ ├── _functools.pym
│ │ │ │ │ │ ├── _sqlite3.pym
│ │ │ │ │ │ ├── _sre.pym
│ │ │ │ │ │ ├── _weakref.pym
│ │ │ │ │ │ ├── builtins.pym
│ │ │ │ │ │ ├── datetime.pym
│ │ │ │ │ │ ├── io.pym
│ │ │ │ │ │ ├── operator.pym
│ │ │ │ │ │ └── posix.pym
│ │ │ │ │ ├── getattr_static.py
│ │ │ │ │ ├── mixed.py
│ │ │ │ │ └── subprocess
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ └── functions.py
│ │ │ │ ├── context
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── asynchronous.py
│ │ │ │ │ ├── function.py
│ │ │ │ │ ├── instance.py
│ │ │ │ │ ├── iterable.py
│ │ │ │ │ ├── klass.py
│ │ │ │ │ ├── module.py
│ │ │ │ │ └── namespace.py
│ │ │ │ ├── docstrings.py
│ │ │ │ ├── dynamic.py
│ │ │ │ ├── filters.py
│ │ │ │ ├── finder.py
│ │ │ │ ├── flow_analysis.py
│ │ │ │ ├── helpers.py
│ │ │ │ ├── imports.py
│ │ │ │ ├── jedi_typing.py
│ │ │ │ ├── lazy_context.py
│ │ │ │ ├── param.py
│ │ │ │ ├── parser_cache.py
│ │ │ │ ├── pep0484.py
│ │ │ │ ├── recursion.py
│ │ │ │ ├── stdlib.py
│ │ │ │ ├── syntax_tree.py
│ │ │ │ ├── sys_path.py
│ │ │ │ ├── usages.py
│ │ │ │ └── utils.py
│ │ │ ├── parser_utils.py
│ │ │ ├── refactoring.py
│ │ │ ├── settings.py
│ │ │ └── utils.py
│ │ │ ├── normalizeForInterpreter.py
│ │ │ ├── parso
│ │ │ ├── __init__.py
│ │ │ ├── _compatibility.py
│ │ │ ├── cache.py
│ │ │ ├── grammar.py
│ │ │ ├── normalizer.py
│ │ │ ├── parser.py
│ │ │ ├── pgen2
│ │ │ │ ├── __init__.py
│ │ │ │ ├── grammar.py
│ │ │ │ ├── parse.py
│ │ │ │ └── pgen.py
│ │ │ ├── python
│ │ │ │ ├── __init__.py
│ │ │ │ ├── diff.py
│ │ │ │ ├── errors.py
│ │ │ │ ├── grammar26.txt
│ │ │ │ ├── grammar27.txt
│ │ │ │ ├── grammar33.txt
│ │ │ │ ├── grammar34.txt
│ │ │ │ ├── grammar35.txt
│ │ │ │ ├── grammar36.txt
│ │ │ │ ├── grammar37.txt
│ │ │ │ ├── parser.py
│ │ │ │ ├── pep8.py
│ │ │ │ ├── prefix.py
│ │ │ │ ├── token.py
│ │ │ │ ├── tokenize.py
│ │ │ │ └── tree.py
│ │ │ ├── tree.py
│ │ │ └── utils.py
│ │ │ ├── refactor.py
│ │ │ └── sortImports.py
│ ├── main.js
│ └── utils.js
├── main.js
└── utils.js
├── lib
├── debugger
│ ├── RemoteDebuggerCommandService.js
│ ├── VendorLib
│ │ └── vs-py-debugger
│ │ │ ├── LICENSE
│ │ │ ├── out
│ │ │ ├── client
│ │ │ │ ├── activation
│ │ │ │ │ ├── activationService.js
│ │ │ │ │ ├── downloadChannelRules.js
│ │ │ │ │ ├── downloader.js
│ │ │ │ │ ├── hashVerifier.js
│ │ │ │ │ ├── interpreterDataService.js
│ │ │ │ │ ├── jedi.js
│ │ │ │ │ ├── languageServer
│ │ │ │ │ │ ├── languageServer.js
│ │ │ │ │ │ ├── languageServerFolderService.js
│ │ │ │ │ │ ├── languageServerHashes.js
│ │ │ │ │ │ ├── languageServerPackageRepository.js
│ │ │ │ │ │ └── languageServerPackageService.js
│ │ │ │ │ ├── platformData.js
│ │ │ │ │ ├── progress.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── api.js
│ │ │ │ ├── application
│ │ │ │ │ ├── diagnostics
│ │ │ │ │ │ ├── applicationDiagnostics.js
│ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ ├── checks
│ │ │ │ │ │ │ ├── envPathVariable.js
│ │ │ │ │ │ │ ├── invalidDebuggerType.js
│ │ │ │ │ │ │ ├── invalidPythonPathInDebugger.js
│ │ │ │ │ │ │ ├── powerShellActivation.js
│ │ │ │ │ │ │ └── pythonInterpreter.js
│ │ │ │ │ │ ├── commands
│ │ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ │ ├── execVSCCommand.js
│ │ │ │ │ │ │ ├── factory.js
│ │ │ │ │ │ │ ├── ignore.js
│ │ │ │ │ │ │ ├── launchBrowser.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── filter.js
│ │ │ │ │ │ ├── promptHandler.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── common
│ │ │ │ │ ├── application
│ │ │ │ │ │ ├── applicationEnvironment.js
│ │ │ │ │ │ ├── applicationShell.js
│ │ │ │ │ │ ├── commandManager.js
│ │ │ │ │ │ ├── debugService.js
│ │ │ │ │ │ ├── documentManager.js
│ │ │ │ │ │ ├── extensions.js
│ │ │ │ │ │ ├── terminalManager.js
│ │ │ │ │ │ ├── types.js
│ │ │ │ │ │ ├── webPanel.js
│ │ │ │ │ │ ├── webPanelProvider.js
│ │ │ │ │ │ └── workspace.js
│ │ │ │ │ ├── configSettingMonitor.js
│ │ │ │ │ ├── configSettings.js
│ │ │ │ │ ├── configuration
│ │ │ │ │ │ └── service.js
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── contextKey.js
│ │ │ │ │ ├── editor.js
│ │ │ │ │ ├── envFileParser.js
│ │ │ │ │ ├── errors
│ │ │ │ │ │ ├── errorUtils.js
│ │ │ │ │ │ └── moduleNotInstalledError.js
│ │ │ │ │ ├── extensions.js
│ │ │ │ │ ├── featureDeprecationManager.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── installer
│ │ │ │ │ │ ├── channelManager.js
│ │ │ │ │ │ ├── condaInstaller.js
│ │ │ │ │ │ ├── moduleInstaller.js
│ │ │ │ │ │ ├── pipEnvInstaller.js
│ │ │ │ │ │ ├── pipInstaller.js
│ │ │ │ │ │ ├── productInstaller.js
│ │ │ │ │ │ ├── productNames.js
│ │ │ │ │ │ ├── productPath.js
│ │ │ │ │ │ ├── productService.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── logger.js
│ │ │ │ │ ├── markdown
│ │ │ │ │ │ └── restTextConverter.js
│ │ │ │ │ ├── net
│ │ │ │ │ │ ├── browser.js
│ │ │ │ │ │ ├── httpClient.js
│ │ │ │ │ │ └── socket
│ │ │ │ │ │ │ ├── SocketStream.js
│ │ │ │ │ │ │ ├── socketCallbackHandler.js
│ │ │ │ │ │ │ └── socketServer.js
│ │ │ │ │ ├── nuget
│ │ │ │ │ │ ├── azureBlobStoreNugetRepository.js
│ │ │ │ │ │ ├── nugetRepository.js
│ │ │ │ │ │ ├── nugetService.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── open.js
│ │ │ │ │ ├── persistentState.js
│ │ │ │ │ ├── platform
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── fileSystem.js
│ │ │ │ │ │ ├── osinfo.js
│ │ │ │ │ │ ├── pathUtils.js
│ │ │ │ │ │ ├── platformService.js
│ │ │ │ │ │ ├── registry.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── process
│ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ ├── currentProcess.js
│ │ │ │ │ │ ├── decoder.js
│ │ │ │ │ │ ├── proc.js
│ │ │ │ │ │ ├── processFactory.js
│ │ │ │ │ │ ├── pythonExecutionFactory.js
│ │ │ │ │ │ ├── pythonProcess.js
│ │ │ │ │ │ ├── pythonToolService.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── terminal
│ │ │ │ │ │ ├── activator
│ │ │ │ │ │ │ ├── base.js
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ └── powershellFailedHandler.js
│ │ │ │ │ │ ├── commandPrompt.js
│ │ │ │ │ │ ├── environmentActivationProviders
│ │ │ │ │ │ │ ├── baseActivationProvider.js
│ │ │ │ │ │ │ ├── bash.js
│ │ │ │ │ │ │ ├── commandPrompt.js
│ │ │ │ │ │ │ ├── condaActivationProvider.js
│ │ │ │ │ │ │ └── pyenvActivationProvider.js
│ │ │ │ │ │ ├── factory.js
│ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ ├── service.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ ├── util.js
│ │ │ │ │ ├── utils
│ │ │ │ │ │ ├── async.js
│ │ │ │ │ │ ├── decorators.js
│ │ │ │ │ │ ├── enum.js
│ │ │ │ │ │ ├── fs.js
│ │ │ │ │ │ ├── localize.js
│ │ │ │ │ │ ├── logging.js
│ │ │ │ │ │ ├── misc.js
│ │ │ │ │ │ ├── platform.js
│ │ │ │ │ │ ├── random.js
│ │ │ │ │ │ ├── stopWatch.js
│ │ │ │ │ │ ├── string.js
│ │ │ │ │ │ ├── sysTypes.js
│ │ │ │ │ │ ├── text.js
│ │ │ │ │ │ └── version.js
│ │ │ │ │ └── variables
│ │ │ │ │ │ ├── environment.js
│ │ │ │ │ │ ├── environmentVariablesProvider.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ ├── sysTypes.js
│ │ │ │ │ │ ├── systemVariables.js
│ │ │ │ │ │ └── types.js
│ │ │ │ ├── datascience
│ │ │ │ │ ├── codeCssGenerator.js
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── dataScienceSurveyBanner.js
│ │ │ │ │ ├── datascience.js
│ │ │ │ │ ├── editor-integration
│ │ │ │ │ │ ├── codelensprovider.js
│ │ │ │ │ │ └── codewatcher.js
│ │ │ │ │ ├── history.js
│ │ │ │ │ ├── historyProvider.js
│ │ │ │ │ ├── historycommandlistener.js
│ │ │ │ │ ├── jupyterExecution.js
│ │ │ │ │ ├── jupyterImporter.js
│ │ │ │ │ ├── jupyterInstallError.js
│ │ │ │ │ ├── jupyterProcess.js
│ │ │ │ │ ├── jupyterServer.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── statusProvider.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── debugger
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── debugAdapter
│ │ │ │ │ │ ├── Common
│ │ │ │ │ │ │ ├── Contracts.js
│ │ │ │ │ │ │ ├── Utils.js
│ │ │ │ │ │ │ ├── debugStreamProvider.js
│ │ │ │ │ │ │ ├── processServiceFactory.js
│ │ │ │ │ │ │ ├── protocolLogger.js
│ │ │ │ │ │ │ ├── protocolParser.js
│ │ │ │ │ │ │ └── protocolWriter.js
│ │ │ │ │ │ ├── DebugClients
│ │ │ │ │ │ │ ├── DebugClient.js
│ │ │ │ │ │ │ ├── DebugFactory.js
│ │ │ │ │ │ │ ├── LocalDebugClient.js
│ │ │ │ │ │ │ ├── RemoteDebugClient.js
│ │ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ │ ├── launcherProvider.js
│ │ │ │ │ │ │ ├── localDebugClientV2.js
│ │ │ │ │ │ │ └── nonDebugClientV2.js
│ │ │ │ │ │ ├── DebugServers
│ │ │ │ │ │ │ ├── BaseDebugServer.js
│ │ │ │ │ │ │ ├── LocalDebugServerV2.js
│ │ │ │ │ │ │ └── RemoteDebugServerv2.js
│ │ │ │ │ │ ├── main.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── extension
│ │ │ │ │ │ ├── banner.js
│ │ │ │ │ │ ├── configProviders
│ │ │ │ │ │ │ ├── baseProvider.js
│ │ │ │ │ │ │ ├── configurationProviderUtils.js
│ │ │ │ │ │ │ ├── pythonV2Provider.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── hooks
│ │ │ │ │ │ │ ├── childProcessAttachHandler.js
│ │ │ │ │ │ │ ├── childProcessAttachService.js
│ │ │ │ │ │ │ ├── constants.js
│ │ │ │ │ │ │ ├── eventHandlerDispatcher.js
│ │ │ │ │ │ │ └── types.js
│ │ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── extension.js
│ │ │ │ ├── formatters
│ │ │ │ │ ├── autoPep8Formatter.js
│ │ │ │ │ ├── baseFormatter.js
│ │ │ │ │ ├── blackFormatter.js
│ │ │ │ │ ├── dummyFormatter.js
│ │ │ │ │ ├── helper.js
│ │ │ │ │ ├── lineFormatter.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── yapfFormatter.js
│ │ │ │ ├── interpreter
│ │ │ │ │ ├── configuration
│ │ │ │ │ │ ├── interpreterComparer.js
│ │ │ │ │ │ ├── interpreterSelector.js
│ │ │ │ │ │ ├── pythonPathUpdaterService.js
│ │ │ │ │ │ ├── pythonPathUpdaterServiceFactory.js
│ │ │ │ │ │ ├── services
│ │ │ │ │ │ │ ├── globalUpdaterService.js
│ │ │ │ │ │ │ ├── workspaceFolderUpdaterService.js
│ │ │ │ │ │ │ └── workspaceUpdaterService.js
│ │ │ │ │ │ └── types.js
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── display
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── progressDisplay.js
│ │ │ │ │ │ └── shebangCodeLensProvider.js
│ │ │ │ │ ├── helpers.js
│ │ │ │ │ ├── interpreterService.js
│ │ │ │ │ ├── interpreterVersion.js
│ │ │ │ │ ├── locators
│ │ │ │ │ │ ├── helpers.js
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── progressService.js
│ │ │ │ │ │ └── services
│ │ │ │ │ │ │ ├── KnownPathsService.js
│ │ │ │ │ │ │ ├── baseVirtualEnvService.js
│ │ │ │ │ │ │ ├── cacheableLocatorService.js
│ │ │ │ │ │ │ ├── conda.js
│ │ │ │ │ │ │ ├── condaEnvFileService.js
│ │ │ │ │ │ │ ├── condaEnvService.js
│ │ │ │ │ │ │ ├── condaHelper.js
│ │ │ │ │ │ │ ├── condaService.js
│ │ │ │ │ │ │ ├── currentPathService.js
│ │ │ │ │ │ │ ├── globalVirtualEnvService.js
│ │ │ │ │ │ │ ├── interpreterWatcherBuilder.js
│ │ │ │ │ │ │ ├── pipEnvService.js
│ │ │ │ │ │ │ ├── windowsRegistryService.js
│ │ │ │ │ │ │ ├── workspaceVirtualEnvService.js
│ │ │ │ │ │ │ └── workspaceVirtualEnvWatcherService.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── virtualEnvs
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ └── types.js
│ │ │ │ ├── ioc
│ │ │ │ │ ├── container.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── serviceManager.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── jupyter
│ │ │ │ │ └── provider.js
│ │ │ │ ├── language
│ │ │ │ │ ├── braceCounter.js
│ │ │ │ │ ├── characterStream.js
│ │ │ │ │ ├── characters.js
│ │ │ │ │ ├── iterableTextRange.js
│ │ │ │ │ ├── textBuilder.js
│ │ │ │ │ ├── textIterator.js
│ │ │ │ │ ├── textRangeCollection.js
│ │ │ │ │ ├── tokenizer.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── unicode.js
│ │ │ │ ├── languageServices
│ │ │ │ │ ├── jediProxyFactory.js
│ │ │ │ │ ├── languageServerSurveyBanner.js
│ │ │ │ │ └── proposeLanguageServerBanner.js
│ │ │ │ ├── linters
│ │ │ │ │ ├── bandit.js
│ │ │ │ │ ├── baseLinter.js
│ │ │ │ │ ├── errorHandlers
│ │ │ │ │ │ ├── baseErrorHandler.js
│ │ │ │ │ │ ├── errorHandler.js
│ │ │ │ │ │ ├── notInstalled.js
│ │ │ │ │ │ └── standard.js
│ │ │ │ │ ├── flake8.js
│ │ │ │ │ ├── linterAvailability.js
│ │ │ │ │ ├── linterCommands.js
│ │ │ │ │ ├── linterInfo.js
│ │ │ │ │ ├── linterManager.js
│ │ │ │ │ ├── lintingEngine.js
│ │ │ │ │ ├── mypy.js
│ │ │ │ │ ├── pep8.js
│ │ │ │ │ ├── prospector.js
│ │ │ │ │ ├── pydocstyle.js
│ │ │ │ │ ├── pylama.js
│ │ │ │ │ ├── pylint.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── providers
│ │ │ │ │ ├── codeActionsProvider.js
│ │ │ │ │ ├── completionProvider.js
│ │ │ │ │ ├── completionSource.js
│ │ │ │ │ ├── definitionProvider.js
│ │ │ │ │ ├── docStringFoldingProvider.js
│ │ │ │ │ ├── formatProvider.js
│ │ │ │ │ ├── hoverProvider.js
│ │ │ │ │ ├── importSortProvider.js
│ │ │ │ │ ├── itemInfoSource.js
│ │ │ │ │ ├── jediProxy.js
│ │ │ │ │ ├── linterProvider.js
│ │ │ │ │ ├── objectDefinitionProvider.js
│ │ │ │ │ ├── providerUtilities.js
│ │ │ │ │ ├── referenceProvider.js
│ │ │ │ │ ├── renameProvider.js
│ │ │ │ │ ├── replProvider.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ ├── signatureProvider.js
│ │ │ │ │ ├── simpleRefactorProvider.js
│ │ │ │ │ ├── symbolProvider.js
│ │ │ │ │ ├── terminalProvider.js
│ │ │ │ │ ├── types.js
│ │ │ │ │ └── updateSparkLibraryProvider.js
│ │ │ │ ├── refactor
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ └── proxy.js
│ │ │ │ ├── telemetry
│ │ │ │ │ ├── constants.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── terminals
│ │ │ │ │ ├── activation.js
│ │ │ │ │ ├── codeExecution
│ │ │ │ │ │ ├── codeExecutionManager.js
│ │ │ │ │ │ ├── djangoContext.js
│ │ │ │ │ │ ├── djangoShellCodeExecution.js
│ │ │ │ │ │ ├── helper.js
│ │ │ │ │ │ ├── repl.js
│ │ │ │ │ │ └── terminalCodeExecution.js
│ │ │ │ │ ├── serviceRegistry.js
│ │ │ │ │ └── types.js
│ │ │ │ ├── typeFormatters
│ │ │ │ │ ├── blockFormatProvider.js
│ │ │ │ │ ├── codeBlockFormatProvider.js
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── dispatcher.js
│ │ │ │ │ └── onEnterFormatter.js
│ │ │ │ └── workspaceSymbols
│ │ │ │ │ ├── contracts.js
│ │ │ │ │ ├── generator.js
│ │ │ │ │ ├── main.js
│ │ │ │ │ ├── parser.js
│ │ │ │ │ └── provider.js
│ │ │ ├── datascience-ui
│ │ │ │ ├── history-react
│ │ │ │ │ ├── MainPanel.js
│ │ │ │ │ ├── cell.js
│ │ │ │ │ ├── cellButton.js
│ │ │ │ │ ├── code.js
│ │ │ │ │ ├── collapseButton.js
│ │ │ │ │ ├── executionCount.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── mainPanelState.js
│ │ │ │ │ ├── menuBar.js
│ │ │ │ │ └── transforms.js
│ │ │ │ └── react-common
│ │ │ │ │ ├── errorBoundary.js
│ │ │ │ │ ├── locReactSide.js
│ │ │ │ │ ├── postOffice.js
│ │ │ │ │ ├── progress.js
│ │ │ │ │ ├── relativeImage.js
│ │ │ │ │ └── themeDetector.js
│ │ │ ├── server
│ │ │ │ └── dummy.js
│ │ │ └── test
│ │ │ │ ├── ciConstants.js
│ │ │ │ ├── common.js
│ │ │ │ ├── constants.js
│ │ │ │ ├── core.js
│ │ │ │ ├── datascience
│ │ │ │ ├── dataScienceIocContainer.js
│ │ │ │ ├── executionServiceMock.js
│ │ │ │ └── reactHelpers.js
│ │ │ │ ├── debugger
│ │ │ │ ├── common
│ │ │ │ │ └── constants.js
│ │ │ │ ├── debugClient.js
│ │ │ │ └── utils.js
│ │ │ │ ├── functionalTests.js
│ │ │ │ ├── index.js
│ │ │ │ ├── initialize.js
│ │ │ │ ├── interpreters
│ │ │ │ └── mocks.js
│ │ │ │ ├── mockClasses.js
│ │ │ │ ├── mocks
│ │ │ │ ├── mementos.js
│ │ │ │ ├── moduleInstaller.js
│ │ │ │ ├── proc.js
│ │ │ │ ├── process.js
│ │ │ │ └── vsc
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── extHostedTypes.js
│ │ │ │ │ ├── htmlContent.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── position.js
│ │ │ │ │ ├── range.js
│ │ │ │ │ ├── selection.js
│ │ │ │ │ ├── strings.js
│ │ │ │ │ ├── telemetryReporter.js
│ │ │ │ │ └── uri.js
│ │ │ │ ├── nonUiTests.js
│ │ │ │ ├── pythonFiles
│ │ │ │ └── formatting
│ │ │ │ │ └── dummy.js
│ │ │ │ ├── serviceRegistry.js
│ │ │ │ ├── stub.js
│ │ │ │ ├── testRunner.js
│ │ │ │ ├── textUtils.js
│ │ │ │ ├── unittests.js
│ │ │ │ ├── vscode-mock.js
│ │ │ │ └── workspaceSymbols
│ │ │ │ └── common.js
│ │ │ ├── package.json
│ │ │ └── pythonFiles
│ │ │ ├── PythonTools
│ │ │ ├── ptvsd
│ │ │ │ └── __init__.py
│ │ │ ├── testlauncher.py
│ │ │ ├── visualstudio_ipython_repl.py
│ │ │ ├── visualstudio_py_debugger.py
│ │ │ ├── visualstudio_py_launcher.py
│ │ │ ├── visualstudio_py_launcher_nodebug.py
│ │ │ ├── visualstudio_py_repl.py
│ │ │ ├── visualstudio_py_testlauncher.py
│ │ │ └── visualstudio_py_util.py
│ │ │ ├── completion.py
│ │ │ ├── completionServer.py
│ │ │ ├── experimental
│ │ │ ├── ptvsd
│ │ │ │ └── ptvsd
│ │ │ │ │ ├── ThirdPartyNotices.txt
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── __main__.py
│ │ │ │ │ ├── _attach.py
│ │ │ │ │ ├── _local.py
│ │ │ │ │ ├── _remote.py
│ │ │ │ │ ├── _util.py
│ │ │ │ │ ├── _vendored
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── _pydevd_packaging.py
│ │ │ │ │ ├── _util.py
│ │ │ │ │ ├── force_pydevd.py
│ │ │ │ │ └── pydevd
│ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ ├── .project
│ │ │ │ │ │ ├── .pydevproject
│ │ │ │ │ │ ├── .settings
│ │ │ │ │ │ ├── org.eclipse.core.resources.prefs
│ │ │ │ │ │ └── org.python.pydev.yaml
│ │ │ │ │ │ ├── .travis.yml
│ │ │ │ │ │ ├── .travis_install_jython_deps.sh
│ │ │ │ │ │ ├── .travis_install_python_deps.sh
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ ├── MANIFEST.in
│ │ │ │ │ │ ├── README.rst
│ │ │ │ │ │ ├── _pydev_bundle
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _pydev_calltip_util.py
│ │ │ │ │ │ ├── _pydev_completer.py
│ │ │ │ │ │ ├── _pydev_filesystem_encoding.py
│ │ │ │ │ │ ├── _pydev_getopt.py
│ │ │ │ │ │ ├── _pydev_imports_tipper.py
│ │ │ │ │ │ ├── _pydev_jy_imports_tipper.py
│ │ │ │ │ │ ├── _pydev_log.py
│ │ │ │ │ │ ├── _pydev_tipper_common.py
│ │ │ │ │ │ ├── fix_getpass.py
│ │ │ │ │ │ ├── pydev_console_utils.py
│ │ │ │ │ │ ├── pydev_import_hook.py
│ │ │ │ │ │ ├── pydev_imports.py
│ │ │ │ │ │ ├── pydev_ipython_console.py
│ │ │ │ │ │ ├── pydev_ipython_console_011.py
│ │ │ │ │ │ ├── pydev_is_thread_alive.py
│ │ │ │ │ │ ├── pydev_localhost.py
│ │ │ │ │ │ ├── pydev_log.py
│ │ │ │ │ │ ├── pydev_monkey.py
│ │ │ │ │ │ ├── pydev_monkey_qt.py
│ │ │ │ │ │ ├── pydev_override.py
│ │ │ │ │ │ ├── pydev_umd.py
│ │ │ │ │ │ └── pydev_versioncheck.py
│ │ │ │ │ │ ├── _pydev_imps
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _pydev_BaseHTTPServer.py
│ │ │ │ │ │ ├── _pydev_SimpleXMLRPCServer.py
│ │ │ │ │ │ ├── _pydev_SocketServer.py
│ │ │ │ │ │ ├── _pydev_execfile.py
│ │ │ │ │ │ ├── _pydev_inspect.py
│ │ │ │ │ │ ├── _pydev_pkgutil_old.py
│ │ │ │ │ │ ├── _pydev_saved_modules.py
│ │ │ │ │ │ ├── _pydev_sys_patch.py
│ │ │ │ │ │ ├── _pydev_uuid_old.py
│ │ │ │ │ │ └── _pydev_xmlrpclib.py
│ │ │ │ │ │ ├── _pydev_runfiles
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydev_runfiles.py
│ │ │ │ │ │ ├── pydev_runfiles_coverage.py
│ │ │ │ │ │ ├── pydev_runfiles_nose.py
│ │ │ │ │ │ ├── pydev_runfiles_parallel.py
│ │ │ │ │ │ ├── pydev_runfiles_parallel_client.py
│ │ │ │ │ │ ├── pydev_runfiles_pytest2.py
│ │ │ │ │ │ ├── pydev_runfiles_unittest.py
│ │ │ │ │ │ └── pydev_runfiles_xml_rpc.py
│ │ │ │ │ │ ├── _pydevd_bundle
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevconsole_code_for_ironpython.py
│ │ │ │ │ │ ├── pydevd_additional_thread_info.py
│ │ │ │ │ │ ├── pydevd_additional_thread_info_regular.py
│ │ │ │ │ │ ├── pydevd_breakpoints.py
│ │ │ │ │ │ ├── pydevd_comm.py
│ │ │ │ │ │ ├── pydevd_command_line_handling.py
│ │ │ │ │ │ ├── pydevd_console.py
│ │ │ │ │ │ ├── pydevd_constants.py
│ │ │ │ │ │ ├── pydevd_custom_frames.py
│ │ │ │ │ │ ├── pydevd_cython.c
│ │ │ │ │ │ ├── pydevd_cython.pyx
│ │ │ │ │ │ ├── pydevd_cython_wrapper.py
│ │ │ │ │ │ ├── pydevd_dont_trace.py
│ │ │ │ │ │ ├── pydevd_dont_trace_files.py
│ │ │ │ │ │ ├── pydevd_exec.py
│ │ │ │ │ │ ├── pydevd_exec2.py
│ │ │ │ │ │ ├── pydevd_extension_api.py
│ │ │ │ │ │ ├── pydevd_extension_utils.py
│ │ │ │ │ │ ├── pydevd_frame.py
│ │ │ │ │ │ ├── pydevd_frame_utils.py
│ │ │ │ │ │ ├── pydevd_import_class.py
│ │ │ │ │ │ ├── pydevd_io.py
│ │ │ │ │ │ ├── pydevd_kill_all_pydevd_threads.py
│ │ │ │ │ │ ├── pydevd_plugin_utils.py
│ │ │ │ │ │ ├── pydevd_process_net_command.py
│ │ │ │ │ │ ├── pydevd_referrers.py
│ │ │ │ │ │ ├── pydevd_reload.py
│ │ │ │ │ │ ├── pydevd_resolver.py
│ │ │ │ │ │ ├── pydevd_save_locals.py
│ │ │ │ │ │ ├── pydevd_signature.py
│ │ │ │ │ │ ├── pydevd_stackless.py
│ │ │ │ │ │ ├── pydevd_trace_api.py
│ │ │ │ │ │ ├── pydevd_trace_dispatch.py
│ │ │ │ │ │ ├── pydevd_trace_dispatch_regular.py
│ │ │ │ │ │ ├── pydevd_traceproperty.py
│ │ │ │ │ │ ├── pydevd_utils.py
│ │ │ │ │ │ ├── pydevd_vars.py
│ │ │ │ │ │ ├── pydevd_vm_type.py
│ │ │ │ │ │ └── pydevd_xml.py
│ │ │ │ │ │ ├── _pydevd_frame_eval
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevd_frame_eval_cython_wrapper.py
│ │ │ │ │ │ ├── pydevd_frame_eval_main.py
│ │ │ │ │ │ ├── pydevd_frame_evaluator.c
│ │ │ │ │ │ ├── pydevd_frame_evaluator.pxd
│ │ │ │ │ │ ├── pydevd_frame_evaluator.pyx
│ │ │ │ │ │ ├── pydevd_frame_tracing.py
│ │ │ │ │ │ └── pydevd_modify_bytecode.py
│ │ │ │ │ │ ├── appveyor.yml
│ │ │ │ │ │ ├── build_tools
│ │ │ │ │ │ ├── build.py
│ │ │ │ │ │ ├── build_binaries_osx.py
│ │ │ │ │ │ ├── build_binaries_windows.py
│ │ │ │ │ │ ├── generate_code.py
│ │ │ │ │ │ ├── names_to_rename.py
│ │ │ │ │ │ ├── pydevd_release_process.txt
│ │ │ │ │ │ └── rename_pep8.py
│ │ │ │ │ │ ├── conftest.py
│ │ │ │ │ │ ├── gradle
│ │ │ │ │ │ └── wrapper
│ │ │ │ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ │ │ │ └── gradle-wrapper.properties
│ │ │ │ │ │ ├── gradlew
│ │ │ │ │ │ ├── gradlew.bat
│ │ │ │ │ │ ├── interpreterInfo.py
│ │ │ │ │ │ ├── pycompletionserver.py
│ │ │ │ │ │ ├── pydev_app_engine_debug_startup.py
│ │ │ │ │ │ ├── pydev_coverage.py
│ │ │ │ │ │ ├── pydev_ipython
│ │ │ │ │ │ ├── README
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── inputhook.py
│ │ │ │ │ │ ├── inputhookglut.py
│ │ │ │ │ │ ├── inputhookgtk.py
│ │ │ │ │ │ ├── inputhookgtk3.py
│ │ │ │ │ │ ├── inputhookpyglet.py
│ │ │ │ │ │ ├── inputhookqt4.py
│ │ │ │ │ │ ├── inputhookqt5.py
│ │ │ │ │ │ ├── inputhooktk.py
│ │ │ │ │ │ ├── inputhookwx.py
│ │ │ │ │ │ ├── matplotlibtools.py
│ │ │ │ │ │ ├── qt.py
│ │ │ │ │ │ ├── qt_for_kernel.py
│ │ │ │ │ │ ├── qt_loaders.py
│ │ │ │ │ │ └── version.py
│ │ │ │ │ │ ├── pydev_pysrc.py
│ │ │ │ │ │ ├── pydev_run_in_console.py
│ │ │ │ │ │ ├── pydev_sitecustomize
│ │ │ │ │ │ ├── __not_in_default_pythonpath.txt
│ │ │ │ │ │ └── sitecustomize.py
│ │ │ │ │ │ ├── pydevconsole.py
│ │ │ │ │ │ ├── pydevd.py
│ │ │ │ │ │ ├── pydevd_attach_to_process
│ │ │ │ │ │ ├── README.txt
│ │ │ │ │ │ ├── _always_live_program.py
│ │ │ │ │ │ ├── _check.py
│ │ │ │ │ │ ├── _test_attach_to_process.py
│ │ │ │ │ │ ├── _test_attach_to_process_linux.py
│ │ │ │ │ │ ├── add_code_to_python_process.py
│ │ │ │ │ │ ├── attach_amd64.dll
│ │ │ │ │ │ ├── attach_linux_amd64.so
│ │ │ │ │ │ ├── attach_linux_x86.so
│ │ │ │ │ │ ├── attach_pydevd.py
│ │ │ │ │ │ ├── attach_script.py
│ │ │ │ │ │ ├── attach_x86.dll
│ │ │ │ │ │ ├── attach_x86.dylib
│ │ │ │ │ │ ├── attach_x86_64.dylib
│ │ │ │ │ │ ├── dll
│ │ │ │ │ │ │ ├── attach.cpp
│ │ │ │ │ │ │ ├── attach.h
│ │ │ │ │ │ │ ├── compile_dll.bat
│ │ │ │ │ │ │ ├── python.h
│ │ │ │ │ │ │ ├── stdafx.cpp
│ │ │ │ │ │ │ ├── stdafx.h
│ │ │ │ │ │ │ └── targetver.h
│ │ │ │ │ │ ├── linux
│ │ │ │ │ │ │ ├── Makefile
│ │ │ │ │ │ │ ├── attach_linux.c
│ │ │ │ │ │ │ ├── compile_mac.sh
│ │ │ │ │ │ │ ├── compile_so.sh
│ │ │ │ │ │ │ ├── gdb_threads_settrace.py
│ │ │ │ │ │ │ ├── lldb_prepare.py
│ │ │ │ │ │ │ ├── lldb_threads_settrace.py
│ │ │ │ │ │ │ └── python.h
│ │ │ │ │ │ └── winappdbg
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── breakpoint.py
│ │ │ │ │ │ │ ├── compat.py
│ │ │ │ │ │ │ ├── crash.py
│ │ │ │ │ │ │ ├── debug.py
│ │ │ │ │ │ │ ├── disasm.py
│ │ │ │ │ │ │ ├── event.py
│ │ │ │ │ │ │ ├── interactive.py
│ │ │ │ │ │ │ ├── module.py
│ │ │ │ │ │ │ ├── plugins
│ │ │ │ │ │ │ ├── README
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── do_example.py
│ │ │ │ │ │ │ ├── do_exchain.py
│ │ │ │ │ │ │ ├── do_exploitable.py
│ │ │ │ │ │ │ └── do_symfix.py
│ │ │ │ │ │ │ ├── process.py
│ │ │ │ │ │ │ ├── registry.py
│ │ │ │ │ │ │ ├── search.py
│ │ │ │ │ │ │ ├── sql.py
│ │ │ │ │ │ │ ├── system.py
│ │ │ │ │ │ │ ├── textio.py
│ │ │ │ │ │ │ ├── thread.py
│ │ │ │ │ │ │ ├── util.py
│ │ │ │ │ │ │ ├── win32
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── advapi32.py
│ │ │ │ │ │ │ ├── context_amd64.py
│ │ │ │ │ │ │ ├── context_i386.py
│ │ │ │ │ │ │ ├── dbghelp.py
│ │ │ │ │ │ │ ├── defines.py
│ │ │ │ │ │ │ ├── gdi32.py
│ │ │ │ │ │ │ ├── kernel32.py
│ │ │ │ │ │ │ ├── ntdll.py
│ │ │ │ │ │ │ ├── peb_teb.py
│ │ │ │ │ │ │ ├── psapi.py
│ │ │ │ │ │ │ ├── shell32.py
│ │ │ │ │ │ │ ├── shlwapi.py
│ │ │ │ │ │ │ ├── user32.py
│ │ │ │ │ │ │ ├── version.py
│ │ │ │ │ │ │ └── wtsapi32.py
│ │ │ │ │ │ │ └── window.py
│ │ │ │ │ │ ├── pydevd_concurrency_analyser
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── pydevd_concurrency_logger.py
│ │ │ │ │ │ └── pydevd_thread_wrappers.py
│ │ │ │ │ │ ├── pydevd_file_utils.py
│ │ │ │ │ │ ├── pydevd_plugins
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── django_debug.py
│ │ │ │ │ │ ├── extensions
│ │ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ └── types
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── pydevd_helpers.py
│ │ │ │ │ │ │ │ ├── pydevd_plugin_numpy_types.py
│ │ │ │ │ │ │ │ └── pydevd_plugins_django_form_str.py
│ │ │ │ │ │ └── jinja2_debug.py
│ │ │ │ │ │ ├── pydevd_tracing.py
│ │ │ │ │ │ ├── pytest.ini
│ │ │ │ │ │ ├── runfiles.py
│ │ │ │ │ │ ├── setup.py
│ │ │ │ │ │ ├── setup_cython.py
│ │ │ │ │ │ └── third_party
│ │ │ │ │ │ ├── isort_container
│ │ │ │ │ │ └── isort
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ │ ├── hooks.py
│ │ │ │ │ │ │ ├── isort.py
│ │ │ │ │ │ │ ├── main.py
│ │ │ │ │ │ │ ├── natural.py
│ │ │ │ │ │ │ ├── pie_slice.py
│ │ │ │ │ │ │ ├── pylama_isort.py
│ │ │ │ │ │ │ └── settings.py
│ │ │ │ │ │ ├── pep8
│ │ │ │ │ │ ├── autopep8.py
│ │ │ │ │ │ ├── lib2to3
│ │ │ │ │ │ │ └── lib2to3
│ │ │ │ │ │ │ │ ├── .gitignore
│ │ │ │ │ │ │ │ ├── Grammar.txt
│ │ │ │ │ │ │ │ ├── PatternGrammar.txt
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ │ │ ├── btm_matcher.py
│ │ │ │ │ │ │ │ ├── btm_utils.py
│ │ │ │ │ │ │ │ ├── fixer_base.py
│ │ │ │ │ │ │ │ ├── fixer_util.py
│ │ │ │ │ │ │ │ ├── fixes
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── fix_apply.py
│ │ │ │ │ │ │ │ ├── fix_basestring.py
│ │ │ │ │ │ │ │ ├── fix_buffer.py
│ │ │ │ │ │ │ │ ├── fix_callable.py
│ │ │ │ │ │ │ │ ├── fix_dict.py
│ │ │ │ │ │ │ │ ├── fix_except.py
│ │ │ │ │ │ │ │ ├── fix_exec.py
│ │ │ │ │ │ │ │ ├── fix_execfile.py
│ │ │ │ │ │ │ │ ├── fix_exitfunc.py
│ │ │ │ │ │ │ │ ├── fix_filter.py
│ │ │ │ │ │ │ │ ├── fix_funcattrs.py
│ │ │ │ │ │ │ │ ├── fix_future.py
│ │ │ │ │ │ │ │ ├── fix_getcwdu.py
│ │ │ │ │ │ │ │ ├── fix_has_key.py
│ │ │ │ │ │ │ │ ├── fix_idioms.py
│ │ │ │ │ │ │ │ ├── fix_import.py
│ │ │ │ │ │ │ │ ├── fix_imports.py
│ │ │ │ │ │ │ │ ├── fix_imports2.py
│ │ │ │ │ │ │ │ ├── fix_input.py
│ │ │ │ │ │ │ │ ├── fix_intern.py
│ │ │ │ │ │ │ │ ├── fix_isinstance.py
│ │ │ │ │ │ │ │ ├── fix_itertools.py
│ │ │ │ │ │ │ │ ├── fix_itertools_imports.py
│ │ │ │ │ │ │ │ ├── fix_long.py
│ │ │ │ │ │ │ │ ├── fix_map.py
│ │ │ │ │ │ │ │ ├── fix_metaclass.py
│ │ │ │ │ │ │ │ ├── fix_methodattrs.py
│ │ │ │ │ │ │ │ ├── fix_ne.py
│ │ │ │ │ │ │ │ ├── fix_next.py
│ │ │ │ │ │ │ │ ├── fix_nonzero.py
│ │ │ │ │ │ │ │ ├── fix_numliterals.py
│ │ │ │ │ │ │ │ ├── fix_operator.py
│ │ │ │ │ │ │ │ ├── fix_paren.py
│ │ │ │ │ │ │ │ ├── fix_print.py
│ │ │ │ │ │ │ │ ├── fix_raise.py
│ │ │ │ │ │ │ │ ├── fix_raw_input.py
│ │ │ │ │ │ │ │ ├── fix_reduce.py
│ │ │ │ │ │ │ │ ├── fix_renames.py
│ │ │ │ │ │ │ │ ├── fix_repr.py
│ │ │ │ │ │ │ │ ├── fix_set_literal.py
│ │ │ │ │ │ │ │ ├── fix_standarderror.py
│ │ │ │ │ │ │ │ ├── fix_sys_exc.py
│ │ │ │ │ │ │ │ ├── fix_throw.py
│ │ │ │ │ │ │ │ ├── fix_tuple_params.py
│ │ │ │ │ │ │ │ ├── fix_types.py
│ │ │ │ │ │ │ │ ├── fix_unicode.py
│ │ │ │ │ │ │ │ ├── fix_urllib.py
│ │ │ │ │ │ │ │ ├── fix_ws_comma.py
│ │ │ │ │ │ │ │ ├── fix_xrange.py
│ │ │ │ │ │ │ │ ├── fix_xreadlines.py
│ │ │ │ │ │ │ │ └── fix_zip.py
│ │ │ │ │ │ │ │ ├── main.py
│ │ │ │ │ │ │ │ ├── patcomp.py
│ │ │ │ │ │ │ │ ├── pgen2
│ │ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ │ ├── conv.py
│ │ │ │ │ │ │ │ ├── driver.py
│ │ │ │ │ │ │ │ ├── grammar.py
│ │ │ │ │ │ │ │ ├── literals.py
│ │ │ │ │ │ │ │ ├── parse.py
│ │ │ │ │ │ │ │ ├── pgen.py
│ │ │ │ │ │ │ │ ├── token.py
│ │ │ │ │ │ │ │ └── tokenize.py
│ │ │ │ │ │ │ │ ├── pygram.py
│ │ │ │ │ │ │ │ ├── pytree.py
│ │ │ │ │ │ │ │ └── refactor.py
│ │ │ │ │ │ └── pycodestyle.py
│ │ │ │ │ │ └── wrapped_for_pydev
│ │ │ │ │ │ ├── ctypes
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── _ctypes.dll
│ │ │ │ │ │ ├── _endian.py
│ │ │ │ │ │ ├── ctypes-README.txt
│ │ │ │ │ │ ├── macholib
│ │ │ │ │ │ │ ├── .cvsignore
│ │ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ │ ├── dyld.py
│ │ │ │ │ │ │ ├── dylib.py
│ │ │ │ │ │ │ └── framework.py
│ │ │ │ │ │ ├── util.py
│ │ │ │ │ │ └── wintypes.py
│ │ │ │ │ │ └── not_in_default_pythonpath.txt
│ │ │ │ │ ├── _version.py
│ │ │ │ │ ├── attach_server.py
│ │ │ │ │ ├── daemon.py
│ │ │ │ │ ├── debugger.py
│ │ │ │ │ ├── exit_handlers.py
│ │ │ │ │ ├── futures.py
│ │ │ │ │ ├── ipcjson.py
│ │ │ │ │ ├── pathutils.py
│ │ │ │ │ ├── pydevd_hooks.py
│ │ │ │ │ ├── reraise.py
│ │ │ │ │ ├── reraise2.py
│ │ │ │ │ ├── reraise3.py
│ │ │ │ │ ├── runner.py
│ │ │ │ │ ├── safe_repr.py
│ │ │ │ │ ├── session.py
│ │ │ │ │ ├── socket.py
│ │ │ │ │ ├── untangle.py
│ │ │ │ │ ├── version.py
│ │ │ │ │ └── wrapper.py
│ │ │ ├── ptvsd_launcher.py
│ │ │ └── testlauncher.py
│ │ │ ├── interpreterInfo.py
│ │ │ ├── isort
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── hooks.py
│ │ │ ├── isort.py
│ │ │ ├── main.py
│ │ │ ├── natural.py
│ │ │ ├── pie_slice.py
│ │ │ ├── pylama_isort.py
│ │ │ └── settings.py
│ │ │ ├── jedi
│ │ │ ├── __init__.py
│ │ │ ├── __main__.py
│ │ │ ├── _compatibility.py
│ │ │ ├── api
│ │ │ │ ├── __init__.py
│ │ │ │ ├── classes.py
│ │ │ │ ├── completion.py
│ │ │ │ ├── environment.py
│ │ │ │ ├── exceptions.py
│ │ │ │ ├── helpers.py
│ │ │ │ ├── interpreter.py
│ │ │ │ ├── keywords.py
│ │ │ │ ├── project.py
│ │ │ │ └── replstartup.py
│ │ │ ├── cache.py
│ │ │ ├── common
│ │ │ │ ├── __init__.py
│ │ │ │ ├── context.py
│ │ │ │ └── utils.py
│ │ │ ├── debug.py
│ │ │ ├── evaluate
│ │ │ │ ├── __init__.py
│ │ │ │ ├── analysis.py
│ │ │ │ ├── arguments.py
│ │ │ │ ├── base_context.py
│ │ │ │ ├── cache.py
│ │ │ │ ├── compiled
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── access.py
│ │ │ │ │ ├── context.py
│ │ │ │ │ ├── fake.py
│ │ │ │ │ ├── fake
│ │ │ │ │ │ ├── _functools.pym
│ │ │ │ │ │ ├── _sqlite3.pym
│ │ │ │ │ │ ├── _sre.pym
│ │ │ │ │ │ ├── _weakref.pym
│ │ │ │ │ │ ├── builtins.pym
│ │ │ │ │ │ ├── datetime.pym
│ │ │ │ │ │ ├── io.pym
│ │ │ │ │ │ ├── operator.pym
│ │ │ │ │ │ └── posix.pym
│ │ │ │ │ ├── getattr_static.py
│ │ │ │ │ ├── mixed.py
│ │ │ │ │ └── subprocess
│ │ │ │ │ │ ├── __init__.py
│ │ │ │ │ │ ├── __main__.py
│ │ │ │ │ │ └── functions.py
│ │ │ │ ├── context
│ │ │ │ │ ├── __init__.py
│ │ │ │ │ ├── asynchronous.py
│ │ │ │ │ ├── function.py
│ │ │ │ │ ├── instance.py
│ │ │ │ │ ├── iterable.py
│ │ │ │ │ ├── klass.py
│ │ │ │ │ ├── module.py
│ │ │ │ │ └── namespace.py
│ │ │ │ ├── docstrings.py
│ │ │ │ ├── dynamic.py
│ │ │ │ ├── filters.py
│ │ │ │ ├── finder.py
│ │ │ │ ├── flow_analysis.py
│ │ │ │ ├── helpers.py
│ │ │ │ ├── imports.py
│ │ │ │ ├── jedi_typing.py
│ │ │ │ ├── lazy_context.py
│ │ │ │ ├── param.py
│ │ │ │ ├── parser_cache.py
│ │ │ │ ├── pep0484.py
│ │ │ │ ├── recursion.py
│ │ │ │ ├── stdlib.py
│ │ │ │ ├── syntax_tree.py
│ │ │ │ ├── sys_path.py
│ │ │ │ ├── usages.py
│ │ │ │ └── utils.py
│ │ │ ├── parser_utils.py
│ │ │ ├── refactoring.py
│ │ │ ├── settings.py
│ │ │ └── utils.py
│ │ │ ├── normalizeForInterpreter.py
│ │ │ ├── parso
│ │ │ ├── __init__.py
│ │ │ ├── _compatibility.py
│ │ │ ├── cache.py
│ │ │ ├── grammar.py
│ │ │ ├── normalizer.py
│ │ │ ├── parser.py
│ │ │ ├── pgen2
│ │ │ │ ├── __init__.py
│ │ │ │ ├── grammar.py
│ │ │ │ ├── parse.py
│ │ │ │ └── pgen.py
│ │ │ ├── python
│ │ │ │ ├── __init__.py
│ │ │ │ ├── diff.py
│ │ │ │ ├── errors.py
│ │ │ │ ├── grammar26.txt
│ │ │ │ ├── grammar27.txt
│ │ │ │ ├── grammar33.txt
│ │ │ │ ├── grammar34.txt
│ │ │ │ ├── grammar35.txt
│ │ │ │ ├── grammar36.txt
│ │ │ │ ├── grammar37.txt
│ │ │ │ ├── parser.py
│ │ │ │ ├── pep8.py
│ │ │ │ ├── prefix.py
│ │ │ │ ├── token.py
│ │ │ │ ├── tokenize.py
│ │ │ │ └── tree.py
│ │ │ ├── tree.py
│ │ │ └── utils.py
│ │ │ ├── refactor.py
│ │ │ └── sortImports.py
│ ├── main.js
│ └── utils.js
├── main.js
└── utils.js
├── package.json
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
└── spec
├── fixtures
├── debugger
│ └── python.py
└── venv
│ ├── none
│ └── .gitignore
│ ├── unix-subdir
│ └── venv
│ │ └── bin
│ │ └── python
│ ├── unix
│ └── bin
│ │ └── python
│ ├── windows-subdir
│ └── venv
│ │ └── Scripts
│ │ └── python
│ └── windows
│ └── Scripts
│ └── python.exe
└── utils-spec.js
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "eslint-config-atomic",
3 | "ignorePatterns": ["dist/", "node_modules/", "lib/debugger/VendorLib"]
4 | }
5 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto eol=lf
2 | *.{cmd,[cC][mM][dD]} text eol=crlf
3 | *.{bat,[bB][aA][tT]} text eol=crlf
4 |
5 | # Exclude VendorLib
6 | lib/debugger/VendorLib/vs-py-debugger/**/* linguist-vendored
7 | lib/debugger/VendorLib/vs-py-debugger/**/* -diff
8 |
9 | dist -diff
10 | dist/**/* linguist-vendored
11 |
--------------------------------------------------------------------------------
/.github/renovate.json:
--------------------------------------------------------------------------------
1 | {
2 | "schedule": ["every weekend"],
3 | "labels": ["dependencies"],
4 | "separateMajorMinor": "false",
5 | "packageRules": [
6 | {
7 | "matchDepTypes": ["devDependencies"],
8 | "matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
9 | "groupName": "devDependencies",
10 | "semanticCommitType": "chore",
11 | "automerge": true
12 | },
13 | {
14 | "matchDepTypes": ["dependencies"],
15 | "matchUpdateTypes": ["major", "minor", "patch", "pin", "digest", "lockFileMaintenance", "rollback", "bump"],
16 | "groupName": "dependencies",
17 | "semanticCommitType": "fix"
18 | }
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | public-hoist-pattern[]=*
2 | package-lock=false
3 | lockfile=true
4 | prefer-frozen-lockfile=false
5 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | package.json
3 | package-lock.json
4 | pnpm-lock.yaml
5 | changelog.md
6 | coverage
7 | build
8 | dist
9 | VendorLib
10 | .mypy_cache
11 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | const presets = ["babel-preset-atomic"]
2 |
3 | const plugins = []
4 |
5 | module.exports = {
6 | presets,
7 | plugins,
8 | exclude: ["node_modules/**", "lib/debugger/VendorLib/**"],
9 | sourceMap: "inline",
10 | }
11 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/api.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 |
5 | Object.defineProperty(exports, "__esModule", {
6 | value: true
7 | });
8 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwaS5qcyJdLCJuYW1lcyI6WyJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImV4cG9ydHMiLCJ2YWx1ZSJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOztBQUNBQSxNQUFNLENBQUNDLGNBQVAsQ0FBc0JDLE9BQXRCLEVBQStCLFlBQS9CLEVBQTZDO0FBQUVDLEVBQUFBLEtBQUssRUFBRTtBQUFULENBQTdDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXG4vLyBMaWNlbnNlZCB1bmRlciB0aGUgTUlUIExpY2Vuc2UuXG4ndXNlIHN0cmljdCc7XG5PYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgXCJfX2VzTW9kdWxlXCIsIHsgdmFsdWU6IHRydWUgfSk7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1hcGkuanMubWFwIl19
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/application/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 |
5 | Object.defineProperty(exports, "__esModule", {
6 | value: true
7 | });
8 | exports.IApplicationDiagnostics = Symbol('IApplicationDiagnostics');
9 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cGVzLmpzIl0sIm5hbWVzIjpbIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZXhwb3J0cyIsInZhbHVlIiwiSUFwcGxpY2F0aW9uRGlhZ25vc3RpY3MiLCJTeW1ib2wiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTs7QUFDQUEsTUFBTSxDQUFDQyxjQUFQLENBQXNCQyxPQUF0QixFQUErQixZQUEvQixFQUE2QztBQUFFQyxFQUFBQSxLQUFLLEVBQUU7QUFBVCxDQUE3QztBQUNBRCxPQUFPLENBQUNFLHVCQUFSLEdBQWtDQyxNQUFNLENBQUMseUJBQUQsQ0FBeEMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgKGMpIE1pY3Jvc29mdCBDb3Jwb3JhdGlvbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbi8vIExpY2Vuc2VkIHVuZGVyIHRoZSBNSVQgTGljZW5zZS5cbid1c2Ugc3RyaWN0Jztcbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbmV4cG9ydHMuSUFwcGxpY2F0aW9uRGlhZ25vc3RpY3MgPSBTeW1ib2woJ0lBcHBsaWNhdGlvbkRpYWdub3N0aWNzJyk7XG4vLyMgc291cmNlTWFwcGluZ1VSTD10eXBlcy5qcy5tYXAiXX0=
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/common/process/constants.js:
--------------------------------------------------------------------------------
1 | "use strict"; // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | Object.defineProperty(exports, "__esModule", {
5 | value: true
6 | });
7 | exports.DEFAULT_ENCODING = 'utf8';
8 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbnN0YW50cy5qcyJdLCJuYW1lcyI6WyJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImV4cG9ydHMiLCJ2YWx1ZSIsIkRFRkFVTFRfRU5DT0RJTkciXSwibWFwcGluZ3MiOiJBQUFBLGEsQ0FDQTtBQUNBOztBQUNBQSxNQUFNLENBQUNDLGNBQVAsQ0FBc0JDLE9BQXRCLEVBQStCLFlBQS9CLEVBQTZDO0FBQUVDLEVBQUFBLEtBQUssRUFBRTtBQUFULENBQTdDO0FBQ0FELE9BQU8sQ0FBQ0UsZ0JBQVIsR0FBMkIsTUFBM0IiLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcbi8vIENvcHlyaWdodCAoYykgTWljcm9zb2Z0IENvcnBvcmF0aW9uLiBBbGwgcmlnaHRzIHJlc2VydmVkLlxuLy8gTGljZW5zZWQgdW5kZXIgdGhlIE1JVCBMaWNlbnNlLlxuT2JqZWN0LmRlZmluZVByb3BlcnR5KGV4cG9ydHMsIFwiX19lc01vZHVsZVwiLCB7IHZhbHVlOiB0cnVlIH0pO1xuZXhwb3J0cy5ERUZBVUxUX0VOQ09ESU5HID0gJ3V0ZjgnO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9Y29uc3RhbnRzLmpzLm1hcCJdfQ==
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/Common/Contracts.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 |
5 | Object.defineProperty(exports, "__esModule", {
6 | value: true
7 | });
8 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRyYWN0cy5qcyJdLCJuYW1lcyI6WyJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImV4cG9ydHMiLCJ2YWx1ZSJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOztBQUNBQSxNQUFNLENBQUNDLGNBQVAsQ0FBc0JDLE9BQXRCLEVBQStCLFlBQS9CLEVBQTZDO0FBQUVDLEVBQUFBLEtBQUssRUFBRTtBQUFULENBQTdDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXG4vLyBMaWNlbnNlZCB1bmRlciB0aGUgTUlUIExpY2Vuc2UuXG4ndXNlIHN0cmljdCc7XG5PYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgXCJfX2VzTW9kdWxlXCIsIHsgdmFsdWU6IHRydWUgfSk7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1Db250cmFjdHMuanMubWFwIl19
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/Common/Utils.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 |
5 | Object.defineProperty(exports, "__esModule", {
6 | value: true
7 | });
8 | exports.IS_WINDOWS = /^win/.test(process.platform);
9 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlV0aWxzLmpzIl0sIm5hbWVzIjpbIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZXhwb3J0cyIsInZhbHVlIiwiSVNfV0lORE9XUyIsInRlc3QiLCJwcm9jZXNzIiwicGxhdGZvcm0iXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTs7QUFDQUEsTUFBTSxDQUFDQyxjQUFQLENBQXNCQyxPQUF0QixFQUErQixZQUEvQixFQUE2QztBQUFFQyxFQUFBQSxLQUFLLEVBQUU7QUFBVCxDQUE3QztBQUNBRCxPQUFPLENBQUNFLFVBQVIsR0FBcUIsT0FBT0MsSUFBUCxDQUFZQyxPQUFPLENBQUNDLFFBQXBCLENBQXJCIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IChjKSBNaWNyb3NvZnQgQ29ycG9yYXRpb24uIEFsbCByaWdodHMgcmVzZXJ2ZWQuXG4vLyBMaWNlbnNlZCB1bmRlciB0aGUgTUlUIExpY2Vuc2UuXG4ndXNlIHN0cmljdCc7XG5PYmplY3QuZGVmaW5lUHJvcGVydHkoZXhwb3J0cywgXCJfX2VzTW9kdWxlXCIsIHsgdmFsdWU6IHRydWUgfSk7XG5leHBvcnRzLklTX1dJTkRPV1MgPSAvXndpbi8udGVzdChwcm9jZXNzLnBsYXRmb3JtKTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPVV0aWxzLmpzLm1hcCJdfQ==
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/formatters/types.js:
--------------------------------------------------------------------------------
1 | "use strict"; // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | Object.defineProperty(exports, "__esModule", {
5 | value: true
6 | });
7 | exports.IFormatterHelper = Symbol('IFormatterHelper');
8 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cGVzLmpzIl0sIm5hbWVzIjpbIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZXhwb3J0cyIsInZhbHVlIiwiSUZvcm1hdHRlckhlbHBlciIsIlN5bWJvbCJdLCJtYXBwaW5ncyI6IkFBQUEsYSxDQUNBO0FBQ0E7O0FBQ0FBLE1BQU0sQ0FBQ0MsY0FBUCxDQUFzQkMsT0FBdEIsRUFBK0IsWUFBL0IsRUFBNkM7QUFBRUMsRUFBQUEsS0FBSyxFQUFFO0FBQVQsQ0FBN0M7QUFDQUQsT0FBTyxDQUFDRSxnQkFBUixHQUEyQkMsTUFBTSxDQUFDLGtCQUFELENBQWpDIiwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG4vLyBDb3B5cmlnaHQgKGMpIE1pY3Jvc29mdCBDb3Jwb3JhdGlvbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbi8vIExpY2Vuc2VkIHVuZGVyIHRoZSBNSVQgTGljZW5zZS5cbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbmV4cG9ydHMuSUZvcm1hdHRlckhlbHBlciA9IFN5bWJvbCgnSUZvcm1hdHRlckhlbHBlcicpO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9dHlwZXMuanMubWFwIl19
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/refactor/contracts.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbnRyYWN0cy5qcyJdLCJuYW1lcyI6WyJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImV4cG9ydHMiLCJ2YWx1ZSJdLCJtYXBwaW5ncyI6IkFBQUE7O0FBQ0FBLE1BQU0sQ0FBQ0MsY0FBUCxDQUFzQkMsT0FBdEIsRUFBK0IsWUFBL0IsRUFBNkM7QUFBRUMsRUFBQUEsS0FBSyxFQUFFO0FBQVQsQ0FBN0MiLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbnRyYWN0cy5qcy5tYXAiXX0=
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/telemetry/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 |
5 | Object.defineProperty(exports, "__esModule", {
6 | value: true
7 | });
8 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInR5cGVzLmpzIl0sIm5hbWVzIjpbIk9iamVjdCIsImRlZmluZVByb3BlcnR5IiwiZXhwb3J0cyIsInZhbHVlIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7O0FBQ0FBLE1BQU0sQ0FBQ0MsY0FBUCxDQUFzQkMsT0FBdEIsRUFBK0IsWUFBL0IsRUFBNkM7QUFBRUMsRUFBQUEsS0FBSyxFQUFFO0FBQVQsQ0FBN0MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgKGMpIE1pY3Jvc29mdCBDb3Jwb3JhdGlvbi4gQWxsIHJpZ2h0cyByZXNlcnZlZC5cbi8vIExpY2Vuc2VkIHVuZGVyIHRoZSBNSVQgTGljZW5zZS5cbid1c2Ugc3RyaWN0Jztcbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPXR5cGVzLmpzLm1hcCJdfQ==
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/client/workspaceSymbols/contracts.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | Object.defineProperty(exports, "__esModule", {
4 | value: true
5 | });
6 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbnRyYWN0cy5qcyJdLCJuYW1lcyI6WyJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImV4cG9ydHMiLCJ2YWx1ZSJdLCJtYXBwaW5ncyI6IkFBQUE7O0FBQ0FBLE1BQU0sQ0FBQ0MsY0FBUCxDQUFzQkMsT0FBdEIsRUFBK0IsWUFBL0IsRUFBNkM7QUFBRUMsRUFBQUEsS0FBSyxFQUFFO0FBQVQsQ0FBN0MiLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbnRyYWN0cy5qcy5tYXAiXX0=
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/server/dummy.js:
--------------------------------------------------------------------------------
1 | // Dummy file to ensue files under src/client get output into the "out/client" directory
2 | "use strict";
3 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImR1bW15LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlc0NvbnRlbnQiOlsiLy8gRHVtbXkgZmlsZSB0byBlbnN1ZSBmaWxlcyB1bmRlciBzcmMvY2xpZW50IGdldCBvdXRwdXQgaW50byB0aGUgXCJvdXQvY2xpZW50XCIgZGlyZWN0b3J5XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kdW1teS5qcy5tYXAiXX0=
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/out/test/pythonFiles/formatting/dummy.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | // Dummy ts file to ensure this folder gets created in output directory.
4 | // Code to ensure linter doesn't complain about empty files.
5 | const a = '1';
6 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImR1bW15LmpzIl0sIm5hbWVzIjpbImEiXSwibWFwcGluZ3MiOiI7O0FBQUE7QUFDQTtBQUNBLE1BQU1BLENBQUMsR0FBRyxHQUFWIiwic291cmNlc0NvbnRlbnQiOlsiLy8gRHVtbXkgdHMgZmlsZSB0byBlbnN1cmUgdGhpcyBmb2xkZXIgZ2V0cyBjcmVhdGVkIGluIG91dHB1dCBkaXJlY3RvcnkuXG4vLyBDb2RlIHRvIGVuc3VyZSBsaW50ZXIgZG9lc24ndCBjb21wbGFpbiBhYm91dCBlbXB0eSBmaWxlcy5cbmNvbnN0IGEgPSAnMSc7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kdW1teS5qcy5tYXAiXX0=
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/PythonTools/testlauncher.py:
--------------------------------------------------------------------------------
1 | def main():
2 | import os
3 | import sys
4 | from ptvsd.visualstudio_py_debugger import DONT_DEBUG, DEBUG_ENTRYPOINTS, get_code
5 |
6 | sys.path[0] = os.getcwd()
7 | os.chdir(sys.argv[1])
8 | testFx = sys.argv[2]
9 | args = sys.argv[3:]
10 |
11 | DONT_DEBUG.append(os.path.normcase(__file__))
12 | DEBUG_ENTRYPOINTS.add(get_code(main))
13 |
14 | try:
15 | if testFx == 'pytest':
16 | import pytest
17 | pytest.main(args)
18 | else:
19 | import nose
20 | nose.run(argv=args)
21 | sys.exit()
22 | finally:
23 | pass
24 |
25 | if __name__ == '__main__':
26 | main()
27 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | __all__ = [
6 | '__version__', '__author__',
7 | 'enable_attach', 'wait_for_attach', 'break_into_debugger', 'is_attached',
8 | ]
9 | __all__ += ['enable_attach_ui', 'set_attach_ui_options', 'set_trace']
10 |
11 |
12 | # "force_pydevd" must be imported first to ensure (via side effects)
13 | # that the ptvsd-vendored copy of pydevd gets used.
14 | from ._vendored import force_pydevd
15 | from ptvsd.version import __version__, __author__
16 | from ptvsd.attach_server import (
17 | enable_attach, wait_for_attach, break_into_debugger, is_attached,
18 | )
19 | from ptvsd.attach_server import (
20 | enable_attach_ui, set_attach_ui_options, set_trace
21 | )
22 | del force_pydevd
23 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *.class
5 | _pydevd_bundle/*.so
6 | # Distribution / packaging
7 | .Python
8 | env/
9 | bin/
10 | build/temp.*
11 | develop-eggs/
12 | dist/
13 | eggs/
14 | lib/
15 | lib64/
16 | parts/
17 | sdist/
18 | var/
19 | *.egg-info/
20 | .installed.cfg
21 | *.egg
22 |
23 | # Installer logs
24 | pip-log.txt
25 | pip-delete-this-directory.txt
26 |
27 | # Unit test / coverage reports
28 | htmlcov/
29 | .tox/
30 | .coverage
31 | .cache
32 | nosetests.xml
33 | coverage.xml
34 |
35 | snippet.py
36 | build/*
37 | .pytest_cache
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | PyDev.Debugger
4 |
5 |
6 |
7 |
8 |
9 | org.python.pydev.PyDevBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.python.pydev.pythonNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.pydevproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | /${PROJECT_DIR_NAME}
5 | /${PROJECT_DIR_NAME}/build_tools
6 | /${PROJECT_DIR_NAME}/jython_test_deps/ant.jar
7 | /${PROJECT_DIR_NAME}/jython_test_deps/junit.jar
8 |
9 | python 3.0
10 | Default
11 | 2.6, 2.7, 3.6
12 |
13 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//.settings/org.python.pydev.yaml=UTF-8
3 | encoding//pydev_ipython/inputhook.py=utf-8
4 | encoding//pydev_ipython/inputhookglut.py=utf-8
5 | encoding//pydev_ipython/inputhookpyglet.py=utf-8
6 | encoding//pydev_ipython/inputhookqt4.py=utf-8
7 | encoding//pydev_ipython/inputhookqt5.py=utf-8
8 | encoding//pydev_ipython/inputhookwx.py=utf-8
9 | encoding//pydevd_attach_to_process/winappdbg/__init__.py=utf-8
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.settings/org.python.pydev.yaml:
--------------------------------------------------------------------------------
1 | ADD_NEW_LINE_AT_END_OF_FILE: true
2 | AUTOPEP8_PARAMETERS: ''
3 | BREAK_IMPORTS_MODE: ESCAPE
4 | DATE_FIELD_FORMAT: yyyy-MM-dd
5 | DATE_FIELD_NAME: __updated__
6 | DELETE_UNUSED_IMPORTS: false
7 | ENABLE_DATE_FIELD_ACTION: false
8 | FORMAT_BEFORE_SAVING: false
9 | FORMAT_ONLY_CHANGED_LINES: false
10 | FORMAT_WITH_AUTOPEP8: false
11 | FROM_IMPORTS_FIRST: false
12 | GROUP_IMPORTS: true
13 | MULTILINE_IMPORTS: true
14 | PEP8_IMPORTS: true
15 | PYDEV_TEST_RUNNER: '2'
16 | PYDEV_TEST_RUNNER_DEFAULT_PARAMETERS: "--capture=no\r\n-vv"
17 | PYDEV_USE_PYUNIT_VIEW: true
18 | SAVE_ACTIONS_ONLY_ON_WORKSPACE_FILES: true
19 | SORT_IMPORTS_ON_SAVE: false
20 | SORT_NAMES_GROUPED: false
21 | SPACES_BEFORE_COMMENT: '2'
22 | SPACES_IN_START_COMMENT: '1'
23 | TRIM_EMPTY_LINES: false
24 | TRIM_MULTILINE_LITERALS: false
25 | USE_ASSIGN_WITH_PACES_INSIDER_PARENTESIS: false
26 | USE_OPERATORS_WITH_SPACE: true
27 | USE_SPACE_AFTER_COMMA: true
28 | USE_SPACE_FOR_PARENTESIS: false
29 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.travis_install_jython_deps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ev
3 |
4 | pip install pytest
5 | pip install untangle
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.travis_install_python_deps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ev
3 |
4 | source activate build_env
5 | conda install --yes numpy ipython pytest cython psutil
6 |
7 | if [ "$PYDEVD_PYTHON_VERSION" = "2.6" ]; then
8 | conda install --yes pyqt=4
9 | pip install pympler==0.5
10 | # Django 1.7 does not support Python 2.7
11 | else
12 | # pytest-xdist not available for python 2.6
13 | pip install pytest-xdist
14 | pip install pympler
15 | fi
16 |
17 | if [ "$PYDEVD_PYTHON_VERSION" = "2.7" ]; then
18 | conda install --yes pyqt=4
19 | pip install "django>=1.7,<1.8"
20 |
21 | fi
22 |
23 | if [ "$PYDEVD_PYTHON_VERSION" = "3.5" ]; then
24 | conda install --yes pyqt=5
25 | pip install "django>=1.7,<1.8"
26 | fi
27 |
28 | pip install untangle
29 | pip install scapy==2.4.0
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/MANIFEST.in:
--------------------------------------------------------------------------------
1 | include *.rst *.txt *.md LICENSE .travis.yml appveyor.yml *.pyx
2 | recursive-include pydevd_attach_to_process *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx
3 | recursive-include _pydevd_bundle *.pyx
4 | recursive-include build_tools *.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/_pydev_log.py:
--------------------------------------------------------------------------------
1 | import traceback
2 | import sys
3 | try:
4 | import StringIO
5 | except:
6 | import io as StringIO #Python 3.0
7 |
8 |
9 | class Log:
10 |
11 | def __init__(self):
12 | self._contents = []
13 |
14 | def add_content(self, *content):
15 | self._contents.append(' '.join(content))
16 |
17 | def add_exception(self):
18 | s = StringIO.StringIO()
19 | exc_info = sys.exc_info()
20 | traceback.print_exception(exc_info[0], exc_info[1], exc_info[2], limit=None, file=s)
21 | self._contents.append(s.getvalue())
22 |
23 |
24 | def get_contents(self):
25 | return '\n'.join(self._contents)
26 |
27 | def clear_log(self):
28 | del self._contents[:]
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/fix_getpass.py:
--------------------------------------------------------------------------------
1 | def fix_getpass():
2 | try:
3 | import getpass
4 | except ImportError:
5 | return #If we can't import it, we can't fix it
6 | import warnings
7 | fallback = getattr(getpass, 'fallback_getpass', None) # >= 2.6
8 | if not fallback:
9 | fallback = getpass.default_getpass # <= 2.5 @UndefinedVariable
10 | getpass.getpass = fallback
11 | if hasattr(getpass, 'GetPassWarning'):
12 | warnings.simplefilter("ignore", category=getpass.GetPassWarning)
13 |
14 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py:
--------------------------------------------------------------------------------
1 | from _pydev_imps._pydev_saved_modules import threading
2 |
3 | # Hack for https://www.brainwy.com/tracker/PyDev/363 (i.e.: calling isAlive() can throw AssertionError under some
4 | # circumstances).
5 | # It is required to debug threads started by start_new_thread in Python 3.4
6 | _temp = threading.Thread()
7 | if hasattr(_temp, '_is_stopped'): # Python 3.x has this
8 | def is_thread_alive(t):
9 | return not t._is_stopped
10 |
11 | elif hasattr(_temp, '_Thread__stopped'): # Python 2.x has this
12 | def is_thread_alive(t):
13 | return not t._Thread__stopped
14 |
15 | else:
16 | # Jython wraps a native java thread and thus only obeys the public API.
17 | def is_thread_alive(t):
18 | return t.isAlive()
19 |
20 | del _temp
21 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_log.py:
--------------------------------------------------------------------------------
1 | import sys
2 | from _pydevd_bundle.pydevd_constants import DebugInfoHolder
3 | from _pydev_imps._pydev_saved_modules import threading
4 | currentThread = threading.currentThread
5 |
6 |
7 | import traceback
8 |
9 | WARN_ONCE_MAP = {}
10 |
11 | def stderr_write(message):
12 | sys.stderr.write(message)
13 | sys.stderr.write("\n")
14 |
15 |
16 | def debug(message):
17 | if DebugInfoHolder.DEBUG_TRACE_LEVEL>2:
18 | stderr_write(message)
19 |
20 |
21 | def warn(message):
22 | if DebugInfoHolder.DEBUG_TRACE_LEVEL>1:
23 | stderr_write(message)
24 |
25 |
26 | def info(message):
27 | stderr_write(message)
28 |
29 |
30 | def error(message, tb=False):
31 | stderr_write(message)
32 | if tb:
33 | traceback.print_exc()
34 |
35 |
36 | def error_once(message):
37 | if message not in WARN_ONCE_MAP:
38 | WARN_ONCE_MAP[message] = True
39 | error(message)
40 |
41 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_override.py:
--------------------------------------------------------------------------------
1 | def overrides(method):
2 | '''
3 | Meant to be used as
4 |
5 | class B:
6 | @overrides(A.m1)
7 | def m1(self):
8 | pass
9 | '''
10 | def wrapper(func):
11 | if func.__name__ != method.__name__:
12 | msg = "Wrong @override: %r expected, but overwriting %r."
13 | msg = msg % (func.__name__, method.__name__)
14 | raise AssertionError(msg)
15 |
16 | if func.__doc__ is None:
17 | func.__doc__ = method.__doc__
18 |
19 | return func
20 |
21 | return wrapper
22 |
23 | def implements(method):
24 | def wrapper(func):
25 | if func.__name__ != method.__name__:
26 | msg = "Wrong @implements: %r expected, but implementing %r."
27 | msg = msg % (func.__name__, method.__name__)
28 | raise AssertionError(msg)
29 |
30 | if func.__doc__ is None:
31 | func.__doc__ = method.__doc__
32 |
33 | return func
34 |
35 | return wrapper
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | def versionok_for_gui():
4 | ''' Return True if running Python is suitable for GUI Event Integration and deeper IPython integration '''
5 | # We require Python 2.6+ ...
6 | if sys.hexversion < 0x02060000:
7 | return False
8 | # Or Python 3.2+
9 | if sys.hexversion >= 0x03000000 and sys.hexversion < 0x03020000:
10 | return False
11 | # Not supported under Jython nor IronPython
12 | if sys.platform.startswith("java") or sys.platform.startswith('cli'):
13 | return False
14 |
15 | return True
16 |
17 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/_pydev_execfile.py:
--------------------------------------------------------------------------------
1 | #We must redefine it in Py3k if it's not already there
2 | def execfile(file, glob=None, loc=None):
3 | if glob is None:
4 | import sys
5 | glob = sys._getframe().f_back.f_globals
6 | if loc is None:
7 | loc = glob
8 |
9 | # It seems that the best way is using tokenize.open(): http://code.activestate.com/lists/python-dev/131251/
10 | # (but tokenize.open() is only available for python 3.2)
11 | import tokenize
12 | if hasattr(tokenize, 'open'):
13 | # version 3.2
14 | stream = tokenize.open(file) # @UndefinedVariable
15 | else:
16 | # version 3.0 or 3.1
17 | detect_encoding = tokenize.detect_encoding(open(file, mode="rb" ).readline)
18 | stream = open(file, encoding=detect_encoding[0])
19 | try:
20 | contents = stream.read()
21 | finally:
22 | stream.close()
23 |
24 | #execute the script (note: it's important to compile first to have the filename set in debug mode)
25 | exec(compile(contents+"\n", file, 'exec'), glob, loc)
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py:
--------------------------------------------------------------------------------
1 | import sys
2 | IS_PY2 = sys.version_info < (3,)
3 |
4 | import threading
5 |
6 | import time
7 |
8 | import socket
9 |
10 | import select
11 |
12 | if IS_PY2:
13 | import thread
14 | import Queue as _queue
15 | import xmlrpclib
16 | import SimpleXMLRPCServer as _pydev_SimpleXMLRPCServer
17 | import BaseHTTPServer
18 | else:
19 | import _thread as thread
20 | import queue as _queue
21 | import xmlrpc.client as xmlrpclib
22 | import xmlrpc.server as _pydev_SimpleXMLRPCServer
23 | import http.server as BaseHTTPServer
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_runfiles/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_runfiles/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_exec.py:
--------------------------------------------------------------------------------
1 | def Exec(exp, global_vars, local_vars=None):
2 | if local_vars is not None:
3 | exec exp in global_vars, local_vars
4 | else:
5 | exec exp in global_vars
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py:
--------------------------------------------------------------------------------
1 | def Exec(exp, global_vars, local_vars=None):
2 | if local_vars is not None:
3 | exec(exp, global_vars, local_vars)
4 | else:
5 | exec(exp, global_vars)
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_kill_all_pydevd_threads.py:
--------------------------------------------------------------------------------
1 | from _pydevd_bundle.pydevd_comm import PyDBDaemonThread
2 | from _pydevd_bundle.pydevd_constants import dict_keys
3 |
4 | def kill_all_pydev_threads():
5 | threads = dict_keys(PyDBDaemonThread.created_pydb_daemon_threads)
6 | for t in threads:
7 | if hasattr(t, 'do_kill_pydev_thread'):
8 | t.do_kill_pydev_thread()
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_frame_eval/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_frame_eval/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Feb 04 13:39:02 CET 2016
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip
7 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_app_engine_debug_startup.py:
--------------------------------------------------------------------------------
1 | if False:
2 | config = None
3 |
4 |
5 | # See: https://docs.google.com/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit
6 | if ':' not in config.version_id:
7 | # The default server version_id does not contain ':'
8 | import json
9 | import os
10 | import sys
11 |
12 | startup = config.python_config.startup_args
13 | if not startup:
14 | raise AssertionError('Expected --python_startup_args to be passed from the pydev debugger.')
15 |
16 | setup = json.loads(startup)
17 | pydevd_path = setup['pydevd']
18 | sys.path.append(os.path.dirname(pydevd_path))
19 |
20 | import pydevd
21 | pydevd.settrace(setup['client'], port=setup['port'], suspend=False, trace_only_current_thread=False)
22 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/README:
--------------------------------------------------------------------------------
1 | # Parts of IPython, files from: https://github.com/ipython/ipython/tree/rel-1.0.0/IPython
2 | # The files in this package are extracted from IPython to aid the main loop integration
3 | # See tests_mainloop for some manually runable tests
4 |
5 | # What we are doing is reusing the "inputhook" functionality (i.e. what in IPython
6 | # ends up on PyOS_InputHook) and using it in the pydevconsole context.
7 | # Rather that having the callbacks called in PyOS_InputHook, we use a custom XML-RPC
8 | # Server (HookableXMLRPCServer) that calls the inputhook when idle
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/inputhooktk.py:
--------------------------------------------------------------------------------
1 | # encoding: utf-8
2 | # Unlike what IPython does, we need to have an explicit inputhook because tkinter handles
3 | # input hook in the C Source code
4 |
5 | #-----------------------------------------------------------------------------
6 | # Imports
7 | #-----------------------------------------------------------------------------
8 |
9 | from pydev_ipython.inputhook import stdin_ready
10 |
11 | #-----------------------------------------------------------------------------
12 | # Code
13 | #-----------------------------------------------------------------------------
14 |
15 | TCL_DONT_WAIT = 1 << 1
16 |
17 | def create_inputhook_tk(app):
18 | def inputhook_tk():
19 | while app.dooneevent(TCL_DONT_WAIT) == 1:
20 | if stdin_ready():
21 | break
22 | return 0
23 | return inputhook_tk
24 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/qt.py:
--------------------------------------------------------------------------------
1 | """ A Qt API selector that can be used to switch between PyQt and PySide.
2 |
3 | This uses the ETS 4.0 selection pattern of:
4 | PySide first, PyQt with API v2. second.
5 |
6 | Do not use this if you need PyQt with the old QString/QVariant API.
7 | """
8 |
9 | import os
10 |
11 | from pydev_ipython.qt_loaders import (load_qt, QT_API_PYSIDE,
12 | QT_API_PYQT, QT_API_PYQT5)
13 |
14 | QT_API = os.environ.get('QT_API', None)
15 | if QT_API not in [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5, None]:
16 | raise RuntimeError("Invalid Qt API %r, valid values are: %r, %r" %
17 | (QT_API, QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5))
18 | if QT_API is None:
19 | api_opts = [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5]
20 | else:
21 | api_opts = [QT_API]
22 |
23 | QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
24 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_pysrc.py:
--------------------------------------------------------------------------------
1 | '''An empty file in pysrc that can be imported (from sitecustomize) to find the location of pysrc'''
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt:
--------------------------------------------------------------------------------
1 | (no __init__.py file)
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/README.txt:
--------------------------------------------------------------------------------
1 | This folder contains the utilities to attach a target process to the pydev debugger.
2 |
3 | The main module to be called for the attach is:
4 |
5 | attach_pydevd.py
6 |
7 | it should be called as;
8 |
9 | python attach_pydevd.py --port 5678 --pid 1234
10 |
11 | Note that the client is responsible for having a remote debugger alive in the given port for the attach to work.
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import struct
3 | print('Executable: %s' % sys.executable)
4 | import os
5 | def loop_in_thread():
6 | while True:
7 | import time
8 | time.sleep(.5)
9 | sys.stdout.write('#')
10 | sys.stdout.flush()
11 |
12 | import threading
13 | threading.Thread(target=loop_in_thread).start()
14 |
15 |
16 | def is_python_64bit():
17 | return (struct.calcsize('P') == 8)
18 |
19 | print('Is 64: %s' % is_python_64bit())
20 |
21 | if __name__ == '__main__':
22 | print('pid:%s' % (os.getpid()))
23 | i = 0
24 | while True:
25 | i += 1
26 | import time
27 | time.sleep(.5)
28 | sys.stdout.write('.')
29 | sys.stdout.flush()
30 | if i % 40 == 0:
31 | sys.stdout.write('\n')
32 | sys.stdout.flush()
33 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_check.py:
--------------------------------------------------------------------------------
1 | import add_code_to_python_process
2 | print add_code_to_python_process.run_python_code(3736, "print(20)", connect_debugger_tracing=False)
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import sys
3 | print(sys.executable)
4 |
5 | if __name__ == '__main__':
6 | p = subprocess.Popen([sys.executable, '-u', '_always_live_program.py'])
7 | import attach_pydevd
8 | attach_pydevd.main(attach_pydevd.process_command_line(['--pid', str(p.pid)]))
9 | p.wait()
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_script.py:
--------------------------------------------------------------------------------
1 | def attach(port, host):
2 | try:
3 | import pydevd
4 | pydevd.stoptrace() #I.e.: disconnect if already connected
5 | # pydevd.DebugInfoHolder.DEBUG_RECORD_SOCKET_READS = True
6 | # pydevd.DebugInfoHolder.DEBUG_TRACE_BREAKPOINTS = 3
7 | # pydevd.DebugInfoHolder.DEBUG_TRACE_LEVEL = 3
8 | pydevd.settrace(
9 | port=port,
10 | host=host,
11 | stdoutToServer=True,
12 | stderrToServer=True,
13 | overwrite_prev_trace=True,
14 | suspend=False,
15 | trace_only_current_thread=False,
16 | patch_multiprocessing=False,
17 | )
18 | except:
19 | import traceback;traceback.print_exc()
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dylib
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/dll/compile_dll.bat:
--------------------------------------------------------------------------------
1 | call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
2 | cl -DUNICODE -D_UNICODE /EHsc /LD attach.cpp /link /out:attach_x86.dll
3 | copy attach_x86.dll ..\attach_x86.dll /Y
4 |
5 |
6 |
7 | call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
8 | cl -DUNICODE -D_UNICODE /EHsc /LD attach.cpp /link /out:attach_amd64.dll
9 | copy attach_amd64.dll ..\attach_amd64.dll /Y
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/compile_mac.sh:
--------------------------------------------------------------------------------
1 | g++ -fPIC -D_REENTRANT -arch x86_64 I. -c -o attach_linux_x86_64.o attach_linux.c
2 | g++ -dynamiclib -arch x86_64 -o attach_x86_64.dylib attach_linux_x86_64.o -lc
3 |
4 |
5 | g++ -fPIC -D_REENTRANT -arch i386 -I. -c -o attach_linux_x86.o attach_linux.c
6 | g++ -dynamiclib -arch i386 -o attach_x86.dylib attach_linux_x86.o -lc
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/compile_so.sh:
--------------------------------------------------------------------------------
1 | g++ -m64 -shared -o attach_linux_amd64.so -fPIC -nostartfiles attach_linux.c
2 | mv attach_linux_amd64.so ../attach_linux_amd64.so
3 |
4 | echo Note: may need "sudo apt-get install libx32gcc-4.8-dev" and "sudo apt-get install libc6-dev-i386" and "sudo apt-get install g++-multilib" to compile 32 bits
5 |
6 | g++ -m32 -shared -o attach_linux_x86.so -fPIC -nostartfiles attach_linux.c
7 | mv attach_linux_x86.so ../attach_linux_x86.so
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/gdb_threads_settrace.py:
--------------------------------------------------------------------------------
1 | # This file is meant to be run inside GDB as a command after
2 | # the attach_linux.so dll has already been loaded to settrace for all threads.
3 | if __name__ == '__main__':
4 | #print('Startup GDB in Python!')
5 |
6 | try:
7 | show_debug_info = 0
8 | is_debug = 0
9 | for t in list(gdb.selected_inferior().threads()):
10 | t.switch()
11 | if t.is_stopped():
12 | #print('Will settrace in: %s' % (t,))
13 | gdb.execute("call (int)SetSysTraceFunc(%s, %s)" % (
14 | show_debug_info, is_debug))
15 | except:
16 | import traceback;traceback.print_exc()
17 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/winappdbg/plugins/README:
--------------------------------------------------------------------------------
1 | Here go the plugins for the interactive debugger.
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_concurrency_analyser/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_concurrency_analyser/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 |
4 | def find_cached_module(mod_name):
5 | return sys.modules.get(mod_name, None)
6 |
7 | def find_mod_attr(mod_name, attr):
8 | mod = find_cached_module(mod_name)
9 | if mod is None:
10 | return None
11 | return getattr(mod, attr, None)
12 |
13 |
14 | def find_class_name(val):
15 | class_name = str(val.__class__)
16 | if class_name.find('.') != -1:
17 | class_name = class_name.split('.')[-1]
18 |
19 | elif class_name.find("'") != -1: #does not have '.' (could be something like )
20 | class_name = class_name[class_name.index("'") + 1:]
21 |
22 | if class_name.endswith("'>"):
23 | class_name = class_name[:-2]
24 |
25 | return class_name
26 |
27 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py:
--------------------------------------------------------------------------------
1 | from _pydevd_bundle.pydevd_extension_api import StrPresentationProvider
2 | from .pydevd_helpers import find_mod_attr, find_class_name
3 |
4 |
5 | class DjangoFormStr(object):
6 | def can_provide(self, type_object, type_name):
7 | form_class = find_mod_attr('django.forms', 'Form')
8 | return form_class is not None and issubclass(type_object, form_class)
9 |
10 | def get_str(self, val):
11 | return '%s: %r' % (find_class_name(val), val)
12 |
13 | import sys
14 |
15 | if not sys.platform.startswith("java"):
16 | StrPresentationProvider.register(DjangoFormStr)
17 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pytest.ini:
--------------------------------------------------------------------------------
1 | [pytest]
2 | norecursedirs=tests_runfiles/samples
3 | addopts=-vv
4 | testpaths=test_pydevd_reload tests tests_mainloop tests_python tests_runfiles
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/isort_container/isort/__main__.py:
--------------------------------------------------------------------------------
1 | from isort.main import main
2 |
3 | main()
4 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/isort_container/isort/pylama_isort.py:
--------------------------------------------------------------------------------
1 | import os
2 | import sys
3 |
4 | from pylama.lint import Linter as BaseLinter
5 |
6 | from .isort import SortImports
7 |
8 |
9 | class Linter(BaseLinter):
10 |
11 | def allow(self, path):
12 | """Determine if this path should be linted."""
13 | return path.endswith('.py')
14 |
15 | def run(self, path, **meta):
16 | """Lint the file. Return an array of error dicts if appropriate."""
17 | with open(os.devnull, 'w') as devnull:
18 | # Suppress isort messages
19 | sys.stdout = devnull
20 |
21 | if SortImports(path, check=True).incorrectly_sorted:
22 | return [{
23 | 'lnum': 0,
24 | 'col': 0,
25 | 'text': 'Incorrectly sorted imports.',
26 | 'type': 'ISORT'
27 | }]
28 | else:
29 | return []
30 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/.gitignore:
--------------------------------------------------------------------------------
1 | *.pickle
2 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/PatternGrammar.txt:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | # A grammar to describe tree matching patterns.
5 | # Not shown here:
6 | # - 'TOKEN' stands for any token (leaf node)
7 | # - 'any' stands for any node (leaf or interior)
8 | # With 'any' we can still specify the sub-structure.
9 |
10 | # The start symbol is 'Matcher'.
11 |
12 | Matcher: Alternatives ENDMARKER
13 |
14 | Alternatives: Alternative ('|' Alternative)*
15 |
16 | Alternative: (Unit | NegatedUnit)+
17 |
18 | Unit: [NAME '='] ( STRING [Repeater]
19 | | NAME [Details] [Repeater]
20 | | '(' Alternatives ')' [Repeater]
21 | | '[' Alternatives ']'
22 | )
23 |
24 | NegatedUnit: 'not' (STRING | NAME [Details] | '(' Alternatives ')')
25 |
26 | Repeater: '*' | '+' | '{' NUMBER [',' NUMBER] '}'
27 |
28 | Details: '<' Alternatives '>'
29 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/__init__.py:
--------------------------------------------------------------------------------
1 | #empty
2 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/__main__.py:
--------------------------------------------------------------------------------
1 | import sys
2 | from .main import main
3 |
4 | sys.exit(main("lib2to3.fixes"))
5 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/__init__.py:
--------------------------------------------------------------------------------
1 | # Dummy file to make this directory a package.
2 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_basestring.py:
--------------------------------------------------------------------------------
1 | """Fixer for basestring -> str."""
2 | # Author: Christian Heimes
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 | class FixBasestring(fixer_base.BaseFix):
9 | BM_compatible = True
10 |
11 | PATTERN = "'basestring'"
12 |
13 | def transform(self, node, results):
14 | return Name(u"str", prefix=node.prefix)
15 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_buffer.py:
--------------------------------------------------------------------------------
1 | # Copyright 2007 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that changes buffer(...) into memoryview(...)."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixBuffer(fixer_base.BaseFix):
12 | BM_compatible = True
13 |
14 | explicit = True # The user must ask for this fixer
15 |
16 | PATTERN = """
17 | power< name='buffer' trailer< '(' [any] ')' > any* >
18 | """
19 |
20 | def transform(self, node, results):
21 | name = results["name"]
22 | name.replace(Name(u"memoryview", prefix=name.prefix))
23 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_funcattrs.py:
--------------------------------------------------------------------------------
1 | """Fix function attribute names (f.func_x -> f.__x__)."""
2 | # Author: Collin Winter
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 |
9 | class FixFuncattrs(fixer_base.BaseFix):
10 | BM_compatible = True
11 |
12 | PATTERN = """
13 | power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'
14 | | 'func_name' | 'func_defaults' | 'func_code'
15 | | 'func_dict') > any* >
16 | """
17 |
18 | def transform(self, node, results):
19 | attr = results["attr"][0]
20 | attr.replace(Name((u"__%s__" % attr.value[5:]),
21 | prefix=attr.prefix))
22 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_future.py:
--------------------------------------------------------------------------------
1 | """Remove __future__ imports
2 |
3 | from __future__ import foo is replaced with an empty line.
4 | """
5 | # Author: Christian Heimes
6 |
7 | # Local imports
8 | from .. import fixer_base
9 | from ..fixer_util import BlankLine
10 |
11 | class FixFuture(fixer_base.BaseFix):
12 | BM_compatible = True
13 |
14 | PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
15 |
16 | # This should be run last -- some things check for the import
17 | run_order = 10
18 |
19 | def transform(self, node, results):
20 | new = BlankLine()
21 | new.prefix = node.prefix
22 | return new
23 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_getcwdu.py:
--------------------------------------------------------------------------------
1 | """
2 | Fixer that changes os.getcwdu() to os.getcwd().
3 | """
4 | # Author: Victor Stinner
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 | class FixGetcwdu(fixer_base.BaseFix):
11 | BM_compatible = True
12 |
13 | PATTERN = """
14 | power< 'os' trailer< dot='.' name='getcwdu' > any* >
15 | """
16 |
17 | def transform(self, node, results):
18 | name = results["name"]
19 | name.replace(Name(u"getcwd", prefix=name.prefix))
20 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_imports2.py:
--------------------------------------------------------------------------------
1 | """Fix incompatible imports and module references that must be fixed after
2 | fix_imports."""
3 | from . import fix_imports
4 |
5 |
6 | MAPPING = {
7 | 'whichdb': 'dbm',
8 | 'anydbm': 'dbm',
9 | }
10 |
11 |
12 | class FixImports2(fix_imports.FixImports):
13 |
14 | run_order = 7
15 |
16 | mapping = MAPPING
17 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_input.py:
--------------------------------------------------------------------------------
1 | """Fixer that changes input(...) into eval(input(...))."""
2 | # Author: Andre Roberge
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Call, Name
7 | from .. import patcomp
8 |
9 |
10 | context = patcomp.compile_pattern("power< 'eval' trailer< '(' any ')' > >")
11 |
12 |
13 | class FixInput(fixer_base.BaseFix):
14 | BM_compatible = True
15 | PATTERN = """
16 | power< 'input' args=trailer< '(' [any] ')' > >
17 | """
18 |
19 | def transform(self, node, results):
20 | # If we're already wrapped in a eval() call, we're done.
21 | if context.match(node.parent.parent):
22 | return
23 |
24 | new = node.clone()
25 | new.prefix = u""
26 | return Call(Name(u"eval"), [new], prefix=node.prefix)
27 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_long.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that turns 'long' into 'int' everywhere.
5 | """
6 |
7 | # Local imports
8 | from lib2to3 import fixer_base
9 | from lib2to3.fixer_util import is_probably_builtin
10 |
11 |
12 | class FixLong(fixer_base.BaseFix):
13 | BM_compatible = True
14 | PATTERN = "'long'"
15 |
16 | def transform(self, node, results):
17 | if is_probably_builtin(node):
18 | node.value = u"int"
19 | node.changed()
20 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_methodattrs.py:
--------------------------------------------------------------------------------
1 | """Fix bound method attributes (method.im_? -> method.__?__).
2 | """
3 | # Author: Christian Heimes
4 |
5 | # Local imports
6 | from .. import fixer_base
7 | from ..fixer_util import Name
8 |
9 | MAP = {
10 | "im_func" : "__func__",
11 | "im_self" : "__self__",
12 | "im_class" : "__self__.__class__"
13 | }
14 |
15 | class FixMethodattrs(fixer_base.BaseFix):
16 | BM_compatible = True
17 | PATTERN = """
18 | power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
19 | """
20 |
21 | def transform(self, node, results):
22 | attr = results["attr"][0]
23 | new = unicode(MAP[attr.value])
24 | attr.replace(Name(new, prefix=attr.prefix))
25 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_ne.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that turns <> into !=."""
5 |
6 | # Local imports
7 | from .. import pytree
8 | from ..pgen2 import token
9 | from .. import fixer_base
10 |
11 |
12 | class FixNe(fixer_base.BaseFix):
13 | # This is so simple that we don't need the pattern compiler.
14 |
15 | _accept_type = token.NOTEQUAL
16 |
17 | def match(self, node):
18 | # Override
19 | return node.value == u"<>"
20 |
21 | def transform(self, node, results):
22 | new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
23 | return new
24 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_nonzero.py:
--------------------------------------------------------------------------------
1 | """Fixer for __nonzero__ -> __bool__ methods."""
2 | # Author: Collin Winter
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name, syms
7 |
8 | class FixNonzero(fixer_base.BaseFix):
9 | BM_compatible = True
10 | PATTERN = """
11 | classdef< 'class' any+ ':'
12 | suite< any*
13 | funcdef< 'def' name='__nonzero__'
14 | parameters< '(' NAME ')' > any+ >
15 | any* > >
16 | """
17 |
18 | def transform(self, node, results):
19 | name = results["name"]
20 | new = Name(u"__bool__", prefix=name.prefix)
21 | name.replace(new)
22 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_numliterals.py:
--------------------------------------------------------------------------------
1 | """Fixer that turns 1L into 1, 0755 into 0o755.
2 | """
3 | # Copyright 2007 Georg Brandl.
4 | # Licensed to PSF under a Contributor Agreement.
5 |
6 | # Local imports
7 | from ..pgen2 import token
8 | from .. import fixer_base
9 | from ..fixer_util import Number
10 |
11 |
12 | class FixNumliterals(fixer_base.BaseFix):
13 | # This is so simple that we don't need the pattern compiler.
14 |
15 | _accept_type = token.NUMBER
16 |
17 | def match(self, node):
18 | # Override
19 | return (node.value.startswith(u"0") or node.value[-1] in u"Ll")
20 |
21 | def transform(self, node, results):
22 | val = node.value
23 | if val[-1] in u'Ll':
24 | val = val[:-1]
25 | elif val.startswith(u'0') and val.isdigit() and len(set(val)) > 1:
26 | val = u"0o" + val[1:]
27 |
28 | return Number(val, prefix=node.prefix)
29 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_raw_input.py:
--------------------------------------------------------------------------------
1 | """Fixer that changes raw_input(...) into input(...)."""
2 | # Author: Andre Roberge
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 | class FixRawInput(fixer_base.BaseFix):
9 |
10 | BM_compatible = True
11 | PATTERN = """
12 | power< name='raw_input' trailer< '(' [any] ')' > any* >
13 | """
14 |
15 | def transform(self, node, results):
16 | name = results["name"]
17 | name.replace(Name(u"input", prefix=name.prefix))
18 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_reduce.py:
--------------------------------------------------------------------------------
1 | # Copyright 2008 Armin Ronacher.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer for reduce().
5 |
6 | Makes sure reduce() is imported from the functools module if reduce is
7 | used in that module.
8 | """
9 |
10 | from lib2to3 import fixer_base
11 | from lib2to3.fixer_util import touch_import
12 |
13 |
14 |
15 | class FixReduce(fixer_base.BaseFix):
16 |
17 | BM_compatible = True
18 | order = "pre"
19 |
20 | PATTERN = """
21 | power< 'reduce'
22 | trailer< '('
23 | arglist< (
24 | (not(argument) any ','
25 | not(argument) any) |
26 | (not(argument) any ','
27 | not(argument) any ','
28 | not(argument) any)
29 | ) >
30 | ')' >
31 | >
32 | """
33 |
34 | def transform(self, node, results):
35 | touch_import(u'functools', u'reduce', node)
36 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_repr.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that transforms `xyzzy` into repr(xyzzy)."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Call, Name, parenthesize
9 |
10 |
11 | class FixRepr(fixer_base.BaseFix):
12 |
13 | BM_compatible = True
14 | PATTERN = """
15 | atom < '`' expr=any '`' >
16 | """
17 |
18 | def transform(self, node, results):
19 | expr = results["expr"].clone()
20 |
21 | if expr.type == self.syms.testlist1:
22 | expr = parenthesize(expr)
23 | return Call(Name(u"repr"), [expr], prefix=node.prefix)
24 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_standarderror.py:
--------------------------------------------------------------------------------
1 | # Copyright 2007 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer for StandardError -> Exception."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixStandarderror(fixer_base.BaseFix):
12 | BM_compatible = True
13 | PATTERN = """
14 | 'StandardError'
15 | """
16 |
17 | def transform(self, node, results):
18 | return Name(u"Exception", prefix=node.prefix)
19 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_xreadlines.py:
--------------------------------------------------------------------------------
1 | """Fix "for x in f.xreadlines()" -> "for x in f".
2 |
3 | This fixer will also convert g(f.xreadlines) into g(f.__iter__)."""
4 | # Author: Collin Winter
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixXreadlines(fixer_base.BaseFix):
12 | BM_compatible = True
13 | PATTERN = """
14 | power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
15 | |
16 | power< any+ trailer< '.' no_call='xreadlines' > >
17 | """
18 |
19 | def transform(self, node, results):
20 | no_call = results.get("no_call")
21 |
22 | if no_call:
23 | no_call.replace(Name(u"__iter__", prefix=no_call.prefix))
24 | else:
25 | node.replace([x.clone() for x in results["call"]])
26 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_zip.py:
--------------------------------------------------------------------------------
1 | """
2 | Fixer that changes zip(seq0, seq1, ...) into list(zip(seq0, seq1, ...)
3 | unless there exists a 'from future_builtins import zip' statement in the
4 | top-level namespace.
5 |
6 | We avoid the transformation if the zip() call is directly contained in
7 | iter(<>), list(<>), tuple(<>), sorted(<>), ...join(<>), or for V in <>:.
8 | """
9 |
10 | # Local imports
11 | from .. import fixer_base
12 | from ..fixer_util import Name, Call, in_special_context
13 |
14 | class FixZip(fixer_base.ConditionalFix):
15 |
16 | BM_compatible = True
17 | PATTERN = """
18 | power< 'zip' args=trailer< '(' [any] ')' >
19 | >
20 | """
21 |
22 | skip_on = "future_builtins.zip"
23 |
24 | def transform(self, node, results):
25 | if self.should_skip(node):
26 | return
27 |
28 | if in_special_context(node):
29 | return None
30 |
31 | new = node.clone()
32 | new.prefix = u""
33 | new = Call(Name(u"list"), [new])
34 | new.prefix = node.prefix
35 | return new
36 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/pgen2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """The pgen2 package."""
5 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/_ctypes.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/_ctypes.dll
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/macholib/.cvsignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/macholib/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Enough Mach-O to make your head spin.
3 |
4 | See the relevant header files in /usr/include/mach-o
5 |
6 | And also Apple's documentation.
7 | """
8 |
9 | __version__ = '1.0'
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/not_in_default_pythonpath.txt:
--------------------------------------------------------------------------------
1 | The wrapped_for_pydev folder is not in the default pythonpath... (no __init__.py file)
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | # TODO: only absolute_import needed?
6 | from __future__ import print_function, with_statement, absolute_import
7 |
8 | import sys
9 |
10 | if sys.version_info >= (3,):
11 | from ptvsd.reraise3 import reraise # noqa: F401
12 | else:
13 | from ptvsd.reraise2 import reraise # noqa: F401
14 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise2.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 |
6 | def reraise(exc_info):
7 | # TODO: docstring
8 | raise exc_info[0], exc_info[1], exc_info[2] # noqa
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise3.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 |
6 | def reraise(exc_info):
7 | # TODO: docstring
8 | raise exc_info[1].with_traceback(exc_info[2])
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | __author__ = "Microsoft Corporation "
6 |
7 | from ._version import get_versions
8 | __version__ = get_versions()['version']
9 | del get_versions
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd_launcher.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 |
4 | import os
5 | import os.path
6 | import sys
7 | import traceback
8 |
9 | # Load the debugger package
10 | try:
11 | ptvs_lib_path = os.path.join(os.path.dirname(__file__), 'ptvsd')
12 | sys.path.append(ptvs_lib_path)
13 | try:
14 | import ptvsd
15 | import ptvsd.debugger as vspd
16 | from ptvsd.__main__ import main
17 | ptvsd_loaded = True
18 | except ImportError:
19 | ptvsd_loaded = False
20 | raise
21 | vspd.DONT_DEBUG.append(os.path.normcase(__file__))
22 | except:
23 | traceback.print_exc()
24 | print('''
25 | Internal error detected. Please copy the above traceback and report at
26 | https://github.com/Microsoft/vscode-python/issues/new
27 |
28 | Press Enter to close. . .''')
29 | try:
30 | raw_input()
31 | except NameError:
32 | input()
33 | sys.exit(1)
34 | finally:
35 | if ptvs_lib_path:
36 | sys.path.remove(ptvs_lib_path)
37 |
38 | main(sys.argv)
39 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/interpreterInfo.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 |
4 | import json
5 | import sys
6 |
7 | obj = {}
8 | obj["versionInfo"] = sys.version_info[:4]
9 | obj["sysPrefix"] = sys.prefix
10 | obj["version"] = sys.version
11 | obj["is64Bit"] = sys.maxsize > 2**32
12 |
13 | print(json.dumps(obj))
14 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/isort/__main__.py:
--------------------------------------------------------------------------------
1 | from __future__ import absolute_import
2 |
3 | from isort.main import main
4 |
5 | main()
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/isort/pylama_isort.py:
--------------------------------------------------------------------------------
1 | import os
2 | import sys
3 |
4 | from pylama.lint import Linter as BaseLinter
5 |
6 | from .isort import SortImports
7 |
8 |
9 | class Linter(BaseLinter):
10 |
11 | def allow(self, path):
12 | """Determine if this path should be linted."""
13 | return path.endswith('.py')
14 |
15 | def run(self, path, **meta):
16 | """Lint the file. Return an array of error dicts if appropriate."""
17 | with open(os.devnull, 'w') as devnull:
18 | # Suppress isort messages
19 | sys.stdout = devnull
20 |
21 | if SortImports(path, check=True).incorrectly_sorted:
22 | return [{
23 | 'lnum': 0,
24 | 'col': 0,
25 | 'text': 'Incorrectly sorted imports.',
26 | 'type': 'ISORT'
27 | }]
28 | else:
29 | return []
30 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/api/exceptions.py:
--------------------------------------------------------------------------------
1 | class _JediError(Exception):
2 | pass
3 |
4 |
5 | class InternalError(_JediError):
6 | pass
7 |
8 |
9 | class WrongVersion(_JediError):
10 | pass
11 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/api/replstartup.py:
--------------------------------------------------------------------------------
1 | """
2 | To use Jedi completion in Python interpreter, add the following in your shell
3 | setup (e.g., ``.bashrc``)::
4 |
5 | export PYTHONSTARTUP="$(python -m jedi repl)"
6 |
7 | Then you will be able to use Jedi completer in your Python interpreter::
8 |
9 | $ python
10 | Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
11 | [GCC 4.6.1] on linux2
12 | Type "help", "copyright", "credits" or "license" for more information.
13 | >>> import os
14 | >>> os.path.join('a', 'b').split().in # doctest: +SKIP
15 | ..dex ..sert
16 |
17 | """
18 | import jedi.utils
19 | from jedi import __version__ as __jedi_version__
20 |
21 | print('REPL completion using Jedi %s' % __jedi_version__)
22 | jedi.utils.setup_readline()
23 |
24 | del jedi
25 |
26 | # Note: try not to do many things here, as it will contaminate global
27 | # namespace of the interpreter.
28 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/common/__init__.py:
--------------------------------------------------------------------------------
1 | from jedi.common.context import BaseContextSet, BaseContext
2 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/common/utils.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 |
4 | def traverse_parents(path, include_current=False):
5 | if not include_current:
6 | path = os.path.dirname(path)
7 |
8 | previous = None
9 | while previous != path:
10 | yield path
11 | previous = path
12 | path = os.path.dirname(path)
13 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_functools.pym:
--------------------------------------------------------------------------------
1 | class partial():
2 | def __init__(self, func, *args, **keywords):
3 | self.__func = func
4 | self.__args = args
5 | self.__keywords = keywords
6 |
7 | def __call__(self, *args, **kwargs):
8 | # TODO should be **dict(self.__keywords, **kwargs)
9 | return self.__func(*(self.__args + args), **self.__keywords)
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_sqlite3.pym:
--------------------------------------------------------------------------------
1 | def connect(database, timeout=None, isolation_level=None, detect_types=None, factory=None):
2 | return Connection()
3 |
4 |
5 | class Connection():
6 | def cursor(self):
7 | return Cursor()
8 |
9 |
10 | class Cursor():
11 | def cursor(self):
12 | return Cursor()
13 |
14 | def fetchone(self):
15 | return Row()
16 |
17 | def fetchmany(self, size=cursor.arraysize):
18 | return [self.fetchone()]
19 |
20 | def fetchall(self):
21 | return [self.fetchone()]
22 |
23 |
24 | class Row():
25 | def keys(self):
26 | return ['']
27 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_weakref.pym:
--------------------------------------------------------------------------------
1 | def proxy(object, callback=None):
2 | return object
3 |
4 | class ref():
5 | def __init__(self, object, callback=None):
6 | self.__object = object
7 |
8 | def __call__(self):
9 | return self.__object
10 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/datetime.pym:
--------------------------------------------------------------------------------
1 | class datetime():
2 | @staticmethod
3 | def now():
4 | return datetime()
5 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/io.pym:
--------------------------------------------------------------------------------
1 | class TextIOWrapper():
2 | def __next__(self):
3 | return str()
4 |
5 | def __iter__(self):
6 | yield str()
7 |
8 | def readlines(self):
9 | return ['']
10 |
11 | def __enter__(self):
12 | return self
13 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/posix.pym:
--------------------------------------------------------------------------------
1 | def getcwd():
2 | return ''
3 |
4 | def getcwdu():
5 | return ''
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/context/__init__.py:
--------------------------------------------------------------------------------
1 | from jedi.evaluate.context.module import ModuleContext
2 | from jedi.evaluate.context.klass import ClassContext
3 | from jedi.evaluate.context.function import FunctionContext, FunctionExecutionContext
4 | from jedi.evaluate.context.instance import AnonymousInstance, BoundMethod, \
5 | CompiledInstance, AbstractInstanceContext, TreeInstance
6 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/parser_cache.py:
--------------------------------------------------------------------------------
1 | from jedi.evaluate.cache import evaluator_function_cache
2 |
3 |
4 | @evaluator_function_cache()
5 | def get_yield_exprs(evaluator, funcdef):
6 | return list(funcdef.iter_yield_exprs())
7 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/pgen2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | # Modifications:
5 | # Copyright 2006 Google, Inc. All Rights Reserved.
6 | # Licensed to PSF under a Contributor Agreement.
7 | # Copyright 2014 David Halter. Integration into Jedi.
8 | # Modifications are dual-licensed: MIT and PSF.
9 |
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/python/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/python/__init__.py
--------------------------------------------------------------------------------
/dist/debugger/VendorLib/vs-py-debugger/pythonFiles/sortImports.py:
--------------------------------------------------------------------------------
1 | import isort.main
2 | isort.main.main()
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/activation/languageServer/languageServerHashes.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // This file will be replaced by a generated one during the release build
6 | // with actual hashes of the uploaded packages.
7 | // Values are for test purposes only
8 | exports.language_server_win_x86_sha512 = 'win-x86';
9 | exports.language_server_win_x64_sha512 = 'win-x64';
10 | exports.language_server_osx_x64_sha512 = 'osx-x64';
11 | exports.language_server_linux_x64_sha512 = 'linux-x64';
12 | //# sourceMappingURL=languageServerHashes.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/activation/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IExtensionActivationService = Symbol('IExtensionActivationService');
6 | var ExtensionActivators;
7 | (function (ExtensionActivators) {
8 | ExtensionActivators["Jedi"] = "Jedi";
9 | ExtensionActivators["DotNet"] = "DotNet";
10 | })(ExtensionActivators = exports.ExtensionActivators || (exports.ExtensionActivators = {}));
11 | exports.IExtensionActivator = Symbol('IExtensionActivator');
12 | exports.IHttpClient = Symbol('IHttpClient');
13 | exports.ILanguageServerFolderService = Symbol('ILanguageServerFolderService');
14 | exports.ILanguageServerDownloader = Symbol('ILanguageServerDownloader');
15 | exports.ILanguageServerPackageService = Symbol('ILanguageServerPackageService');
16 | exports.MajorLanguageServerVersion = Symbol('MajorLanguageServerVersion');
17 | exports.IDownloadChannelRule = Symbol('IDownloadChannelRule');
18 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/api.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | //# sourceMappingURL=api.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/diagnostics/commands/base.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | class BaseDiagnosticCommand {
6 | constructor(diagnostic) {
7 | this.diagnostic = diagnostic;
8 | }
9 | }
10 | exports.BaseDiagnosticCommand = BaseDiagnosticCommand;
11 | //# sourceMappingURL=base.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/diagnostics/commands/ignore.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const types_1 = require("../types");
6 | const base_1 = require("./base");
7 | class IgnoreDiagnosticCommand extends base_1.BaseDiagnosticCommand {
8 | constructor(diagnostic, serviceContainer, scope) {
9 | super(diagnostic);
10 | this.serviceContainer = serviceContainer;
11 | this.scope = scope;
12 | }
13 | invoke() {
14 | const filter = this.serviceContainer.get(types_1.IDiagnosticFilterService);
15 | return filter.ignoreDiagnostic(this.diagnostic.code, this.scope);
16 | }
17 | }
18 | exports.IgnoreDiagnosticCommand = IgnoreDiagnosticCommand;
19 | //# sourceMappingURL=ignore.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/diagnostics/commands/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IDiagnosticsCommandFactory = Symbol('IDiagnosticsCommandFactory');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/diagnostics/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | var DiagnosticScope;
6 | (function (DiagnosticScope) {
7 | DiagnosticScope["Global"] = "Global";
8 | DiagnosticScope["WorkspaceFolder"] = "WorkspaceFolder";
9 | })(DiagnosticScope = exports.DiagnosticScope || (exports.DiagnosticScope = {}));
10 | exports.IDiagnosticsService = Symbol('IDiagnosticsService');
11 | exports.IDiagnosticFilterService = Symbol('IDiagnosticFilterService');
12 | exports.IDiagnosticHandlerService = Symbol('IDiagnosticHandlerService');
13 | exports.IInvalidPythonPathInDebuggerService = Symbol('IInvalidPythonPathInDebuggerService');
14 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const applicationDiagnostics_1 = require("./diagnostics/applicationDiagnostics");
6 | const serviceRegistry_1 = require("./diagnostics/serviceRegistry");
7 | const types_1 = require("./types");
8 | function registerTypes(serviceManager) {
9 | serviceManager.addSingleton(types_1.IApplicationDiagnostics, applicationDiagnostics_1.ApplicationDiagnostics);
10 | serviceRegistry_1.registerTypes(serviceManager);
11 | }
12 | exports.registerTypes = registerTypes;
13 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/application/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IApplicationDiagnostics = Symbol('IApplicationDiagnostics');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/application/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable:no-any unified-signatures
6 | exports.IApplicationShell = Symbol('IApplicationShell');
7 | exports.ICommandManager = Symbol('ICommandManager');
8 | exports.IDocumentManager = Symbol('IDocumentManager');
9 | exports.IWorkspaceService = Symbol('IWorkspaceService');
10 | exports.ITerminalManager = Symbol('ITerminalManager');
11 | exports.IDebugService = Symbol('IDebugManager');
12 | exports.IApplicationEnvironment = Symbol('IApplicationEnvironment');
13 | exports.IWebPanelMessageListener = Symbol('IWebPanelMessageListener');
14 | // Wraps the VS Code webview panel
15 | exports.IWebPanel = Symbol('IWebPanel');
16 | // Wraps the VS Code api for creating a web panel
17 | exports.IWebPanelProvider = Symbol('IWebPanelProvider');
18 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/errors/errorUtils.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable-next-line:no-stateless-class
6 | class ErrorUtils {
7 | static outputHasModuleNotInstalledError(moduleName, content) {
8 | return content && (content.indexOf(`No module named ${moduleName}`) > 0 || content.indexOf(`No module named '${moduleName}'`) > 0);
9 | }
10 | }
11 | exports.ErrorUtils = ErrorUtils;
12 | //# sourceMappingURL=errorUtils.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/errors/moduleNotInstalledError.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | class ModuleNotInstalledError extends Error {
6 | constructor(moduleName) {
7 | super(`Module '${moduleName}' not installed.`);
8 | }
9 | }
10 | exports.ModuleNotInstalledError = ModuleNotInstalledError;
11 | //# sourceMappingURL=moduleNotInstalledError.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/installer/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IModuleInstaller = Symbol('IModuleInstaller');
6 | exports.IPythonInstallation = Symbol('IPythonInstallation');
7 | exports.IInstallationChannelManager = Symbol('IInstallationChannelManager');
8 | exports.IProductService = Symbol('IProductService');
9 | exports.IProductPathService = Symbol('IProductPathService');
10 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/nuget/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.INugetService = Symbol('INugetService');
6 | exports.INugetRepository = Symbol('INugetRepository');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/platform/constants.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const arch = require("arch");
6 | // TO DO: Deprecate in favor of IPlatformService
7 | exports.WINDOWS_PATH_VARIABLE_NAME = 'Path';
8 | exports.NON_WINDOWS_PATH_VARIABLE_NAME = 'PATH';
9 | exports.IS_WINDOWS = /^win/.test(process.platform);
10 | exports.IS_64_BIT = arch() === 'x64';
11 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/platform/osinfo.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const platform_1 = require("../utils/platform");
6 | const constants_1 = require("./constants");
7 | function getPathVariableName(info) {
8 | return platform_1.isWindows(info) ? constants_1.WINDOWS_PATH_VARIABLE_NAME : constants_1.NON_WINDOWS_PATH_VARIABLE_NAME;
9 | }
10 | exports.getPathVariableName = getPathVariableName;
11 | function getVirtualEnvBinName(info) {
12 | return platform_1.isWindows(info) ? 'scripts' : 'bin';
13 | }
14 | exports.getVirtualEnvBinName = getVirtualEnvBinName;
15 | //# sourceMappingURL=osinfo.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/platform/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const fileSystem_1 = require("./fileSystem");
6 | const platformService_1 = require("./platformService");
7 | const registry_1 = require("./registry");
8 | const types_1 = require("./types");
9 | function registerTypes(serviceManager) {
10 | serviceManager.addSingleton(types_1.IPlatformService, platformService_1.PlatformService);
11 | serviceManager.addSingleton(types_1.IFileSystem, fileSystem_1.FileSystem);
12 | if (serviceManager.get(types_1.IPlatformService).isWindows) {
13 | serviceManager.addSingleton(types_1.IRegistry, registry_1.RegistryImplementation);
14 | }
15 | }
16 | exports.registerTypes = registerTypes;
17 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/platform/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IPlatformInfo = Symbol('IPlatformInfo');
6 | var RegistryHive;
7 | (function (RegistryHive) {
8 | RegistryHive[RegistryHive["HKCU"] = 0] = "HKCU";
9 | RegistryHive[RegistryHive["HKLM"] = 1] = "HKLM";
10 | })(RegistryHive = exports.RegistryHive || (exports.RegistryHive = {}));
11 | exports.IRegistry = Symbol('IRegistry');
12 | exports.IPlatformService = Symbol('IPlatformService');
13 | exports.IFileSystem = Symbol('IFileSystem');
14 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/process/constants.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.DEFAULT_ENCODING = 'utf8';
6 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/process/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const decoder_1 = require("./decoder");
6 | const processFactory_1 = require("./processFactory");
7 | const pythonExecutionFactory_1 = require("./pythonExecutionFactory");
8 | const pythonToolService_1 = require("./pythonToolService");
9 | const types_1 = require("./types");
10 | function registerTypes(serviceManager) {
11 | serviceManager.addSingleton(types_1.IBufferDecoder, decoder_1.BufferDecoder);
12 | serviceManager.addSingleton(types_1.IProcessServiceFactory, processFactory_1.ProcessServiceFactory);
13 | serviceManager.addSingleton(types_1.IPythonExecutionFactory, pythonExecutionFactory_1.PythonExecutionFactory);
14 | serviceManager.addSingleton(types_1.IPythonToolExecutionService, pythonToolService_1.PythonToolExecutionService);
15 | }
16 | exports.registerTypes = registerTypes;
17 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/process/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IBufferDecoder = Symbol('IBufferDecoder');
6 | exports.IProcessServiceFactory = Symbol('IProcessServiceFactory');
7 | exports.IPythonExecutionFactory = Symbol('IPythonExecutionFactory');
8 | exports.IPythonExecutionService = Symbol('IPythonExecutionService');
9 | class StdErrError extends Error {
10 | constructor(message) {
11 | super(message);
12 | }
13 | }
14 | exports.StdErrError = StdErrError;
15 | exports.IPythonToolExecutionService = Symbol('IPythonToolRunnerService');
16 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/util.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const os = require("os");
6 | // tslint:disable-next-line: no-suspicious-comment
7 | // TODO: Usage of these should be replaced by OSInfo.* or
8 | // IPlatformService.* (from src/client/common/platform).
9 | exports.IS_WINDOWS = /^win/.test(process.platform);
10 | exports.Is_64Bit = os.arch() === 'x64';
11 | //# sourceMappingURL=util.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/utils/enum.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable:no-any
6 | function getNamesAndValues(e) {
7 | return getNames(e).map(n => ({ name: n, value: e[n] }));
8 | }
9 | exports.getNamesAndValues = getNamesAndValues;
10 | function getNames(e) {
11 | return getObjValues(e).filter(v => typeof v === 'string');
12 | }
13 | exports.getNames = getNames;
14 | function getValues(e) {
15 | return getObjValues(e).filter(v => typeof v === 'number');
16 | }
17 | exports.getValues = getValues;
18 | function getObjValues(e) {
19 | return Object.keys(e).map(k => e[k]);
20 | }
21 | //# sourceMappingURL=enum.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/utils/misc.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable-next-line:no-empty
6 | function noop() { }
7 | exports.noop = noop;
8 | //# sourceMappingURL=misc.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/utils/stopWatch.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | class StopWatch {
6 | constructor() {
7 | this.started = Date.now();
8 | }
9 | get elapsedTime() {
10 | return Date.now() - this.started;
11 | }
12 | reset() {
13 | this.started = Date.now();
14 | }
15 | }
16 | exports.StopWatch = StopWatch;
17 | //# sourceMappingURL=stopWatch.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/utils/string.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | /**
6 | * Return [parent name, name] for the given qualified (dotted) name.
7 | *
8 | * Examples:
9 | * 'x.y' -> ['x', 'y']
10 | * 'x' -> ['', 'x']
11 | * 'x.y.z' -> ['x.y', 'z']
12 | * '' -> ['', '']
13 | */
14 | function splitParent(fullName) {
15 | if (fullName.length === 0) {
16 | return ['', ''];
17 | }
18 | const pos = fullName.lastIndexOf('.');
19 | if (pos < 0) {
20 | return ['', fullName];
21 | }
22 | const parentName = fullName.slice(0, pos);
23 | const name = fullName.slice(pos + 1);
24 | return [parentName, name];
25 | }
26 | exports.splitParent = splitParent;
27 | //# sourceMappingURL=string.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/variables/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const environment_1 = require("./environment");
6 | const environmentVariablesProvider_1 = require("./environmentVariablesProvider");
7 | const types_1 = require("./types");
8 | function registerTypes(serviceManager) {
9 | serviceManager.addSingleton(types_1.IEnvironmentVariablesService, environment_1.EnvironmentVariablesService);
10 | serviceManager.addSingleton(types_1.IEnvironmentVariablesProvider, environmentVariablesProvider_1.EnvironmentVariablesProvider);
11 | }
12 | exports.registerTypes = registerTypes;
13 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/common/variables/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IEnvironmentVariablesService = Symbol('IEnvironmentVariablesService');
6 | exports.IEnvironmentVariablesProvider = Symbol('IEnvironmentVariablesProvider');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/datascience/jupyterInstallError.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | require("../common/extensions");
6 | const constants_1 = require("./constants");
7 | class JupyterInstallError extends Error {
8 | constructor(message, actionFormatString) {
9 | super(message);
10 | this.action = constants_1.HelpLinks.PythonInteractiveHelpLink;
11 | this.actionTitle = actionFormatString.format(constants_1.HelpLinks.PythonInteractiveHelpLink);
12 | }
13 | }
14 | exports.JupyterInstallError = JupyterInstallError;
15 | //# sourceMappingURL=jupyterInstallError.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/constants.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const path = require("path");
6 | const constants_1 = require("../common/constants");
7 | exports.PTVSD_PATH = path.join(constants_1.EXTENSION_ROOT_DIR, 'pythonFiles', 'experimental', 'ptvsd');
8 | exports.DebuggerTypeName = 'python';
9 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/Common/Contracts.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | //# sourceMappingURL=Contracts.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/Common/Utils.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IS_WINDOWS = /^win/.test(process.platform);
6 | //# sourceMappingURL=Utils.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/DebugClients/DebugClient.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // tslint:disable:quotemark ordered-imports no-any no-empty
3 | Object.defineProperty(exports, "__esModule", { value: true });
4 | const events_1 = require("events");
5 | var DebugType;
6 | (function (DebugType) {
7 | DebugType[DebugType["Local"] = 0] = "Local";
8 | DebugType[DebugType["Remote"] = 1] = "Remote";
9 | DebugType[DebugType["RunLocal"] = 2] = "RunLocal";
10 | })(DebugType = exports.DebugType || (exports.DebugType = {}));
11 | class DebugClient extends events_1.EventEmitter {
12 | constructor(args, debugSession) {
13 | super();
14 | this.args = args;
15 | this.debugSession = debugSession;
16 | }
17 | get DebugType() {
18 | return DebugType.Local;
19 | }
20 | Stop() {
21 | }
22 | LaunchApplicationToDebug(dbgServer) {
23 | return Promise.resolve();
24 | }
25 | }
26 | exports.DebugClient = DebugClient;
27 | //# sourceMappingURL=DebugClient.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/DebugClients/RemoteDebugClient.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const RemoteDebugServerv2_1 = require("../DebugServers/RemoteDebugServerv2");
4 | const DebugClient_1 = require("./DebugClient");
5 | class RemoteDebugClient extends DebugClient_1.DebugClient {
6 | // tslint:disable-next-line:no-any
7 | constructor(args, debugSession) {
8 | super(args, debugSession);
9 | }
10 | CreateDebugServer() {
11 | this.debugServer = new RemoteDebugServerv2_1.RemoteDebugServerV2(this.debugSession, this.args);
12 | return this.debugServer;
13 | }
14 | get DebugType() {
15 | return DebugClient_1.DebugType.Remote;
16 | }
17 | Stop() {
18 | if (this.debugServer) {
19 | this.debugServer.Stop();
20 | this.debugServer = undefined;
21 | }
22 | }
23 | }
24 | exports.RemoteDebugClient = RemoteDebugClient;
25 | //# sourceMappingURL=RemoteDebugClient.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/DebugClients/launcherProvider.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable:max-classes-per-file
6 | const path = require("path");
7 | const constants_1 = require("../../../common/constants");
8 | class NoDebugLauncherScriptProvider {
9 | getLauncherFilePath() {
10 | return path.join(constants_1.EXTENSION_ROOT_DIR, 'pythonFiles', 'experimental', 'ptvsd_launcher.py');
11 | }
12 | }
13 | exports.NoDebugLauncherScriptProvider = NoDebugLauncherScriptProvider;
14 | class DebuggerLauncherScriptProvider {
15 | getLauncherFilePath() {
16 | return path.join(constants_1.EXTENSION_ROOT_DIR, 'pythonFiles', 'experimental', 'ptvsd_launcher.py');
17 | }
18 | }
19 | exports.DebuggerLauncherScriptProvider = DebuggerLauncherScriptProvider;
20 | //# sourceMappingURL=launcherProvider.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/DebugServers/BaseDebugServer.js:
--------------------------------------------------------------------------------
1 | // tslint:disable:quotemark ordered-imports no-any no-empty
2 | 'use strict';
3 | Object.defineProperty(exports, "__esModule", { value: true });
4 | const events_1 = require("events");
5 | const async_1 = require("../../../common/utils/async");
6 | class BaseDebugServer extends events_1.EventEmitter {
7 | constructor(debugSession) {
8 | super();
9 | this.isRunning = false;
10 | this.debugSession = debugSession;
11 | this.debugClientConnected = async_1.createDeferred();
12 | this.clientSocket = async_1.createDeferred();
13 | }
14 | get client() {
15 | return this.clientSocket.promise;
16 | }
17 | get IsRunning() {
18 | if (this.isRunning === undefined) {
19 | return false;
20 | }
21 | return this.isRunning;
22 | }
23 | get DebugClientConnected() {
24 | return this.debugClientConnected.promise;
25 | }
26 | }
27 | exports.BaseDebugServer = BaseDebugServer;
28 | //# sourceMappingURL=BaseDebugServer.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/debugAdapter/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IProtocolParser = Symbol('IProtocolParser');
6 | exports.IProtocolLogger = Symbol('IProtocolLogger');
7 | exports.IDebugStreamProvider = Symbol('IDebugStreamProvider');
8 | exports.IProtocolMessageWriter = Symbol('IProtocolMessageWriter');
9 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/extension/configProviders/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IConfigurationProviderUtils = Symbol('IConfigurationProviderUtils');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/extension/hooks/constants.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | var PTVSDEvents;
6 | (function (PTVSDEvents) {
7 | // Event sent by PTVSD when a child process is launched and ready to be attached to for multi-proc debugging.
8 | PTVSDEvents["ChildProcessLaunched"] = "ptvsd_subprocess";
9 | })(PTVSDEvents = exports.PTVSDEvents || (exports.PTVSDEvents = {}));
10 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/extension/hooks/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IDebugSessionEventHandlers = Symbol('IDebugSessionEventHandlers');
6 | exports.IChildProcessAttachService = Symbol('IChildProcessAttachService');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/extension/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IDebugConfigurationProvider = Symbol('DebugConfigurationProvider');
6 | exports.IDebuggerBanner = Symbol('IDebuggerBanner');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/debugger/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | var DebugOptions;
6 | (function (DebugOptions) {
7 | DebugOptions["RedirectOutput"] = "RedirectOutput";
8 | DebugOptions["Django"] = "Django";
9 | DebugOptions["Jinja"] = "Jinja";
10 | DebugOptions["DebugStdLib"] = "DebugStdLib";
11 | DebugOptions["Sudo"] = "Sudo";
12 | DebugOptions["Pyramid"] = "Pyramid";
13 | DebugOptions["FixFilePathCase"] = "FixFilePathCase";
14 | DebugOptions["WindowsClient"] = "WindowsClient";
15 | DebugOptions["UnixClient"] = "UnixClient";
16 | DebugOptions["StopOnEntry"] = "StopOnEntry";
17 | DebugOptions["ShowReturnValue"] = "ShowReturnValue";
18 | DebugOptions["SubProcess"] = "Multiprocess";
19 | })(DebugOptions = exports.DebugOptions || (exports.DebugOptions = {}));
20 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/formatters/dummyFormatter.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const types_1 = require("../common/types");
4 | const baseFormatter_1 = require("./baseFormatter");
5 | class DummyFormatter extends baseFormatter_1.BaseFormatter {
6 | constructor(serviceContainer) {
7 | super('none', types_1.Product.yapf, serviceContainer);
8 | }
9 | formatDocument(document, options, token, range) {
10 | return Promise.resolve([]);
11 | }
12 | }
13 | exports.DummyFormatter = DummyFormatter;
14 | //# sourceMappingURL=dummyFormatter.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/formatters/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const helper_1 = require("./helper");
6 | const types_1 = require("./types");
7 | function registerTypes(serviceManager) {
8 | serviceManager.addSingleton(types_1.IFormatterHelper, helper_1.FormatterHelper);
9 | }
10 | exports.registerTypes = registerTypes;
11 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/formatters/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IFormatterHelper = Symbol('IFormatterHelper');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/interpreter/configuration/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.IPythonPathUpdaterServiceFactory = Symbol('IPythonPathUpdaterServiceFactory');
4 | exports.IPythonPathUpdaterServiceManager = Symbol('IPythonPathUpdaterServiceManager');
5 | exports.IInterpreterSelector = Symbol('IInterpreterSelector');
6 | exports.IInterpreterComparer = Symbol('IInterpreterComparer');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/interpreter/locators/services/conda.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | // tslint:disable-next-line:variable-name
4 | exports.AnacondaCompanyNames = ['Anaconda, Inc.', 'Continuum Analytics, Inc.'];
5 | // tslint:disable-next-line:variable-name
6 | exports.AnacondaCompanyName = 'Anaconda, Inc.';
7 | // tslint:disable-next-line:variable-name
8 | exports.AnacondaDisplayName = 'Anaconda';
9 | // tslint:disable-next-line:variable-name
10 | exports.AnacondaIdentfiers = ['Anaconda', 'Conda', 'Continuum'];
11 | //# sourceMappingURL=conda.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/interpreter/virtualEnvs/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IVirtualEnvironmentManager = Symbol('VirtualEnvironmentManager');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/ioc/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | let container;
6 | function getServiceContainer() {
7 | return container;
8 | }
9 | exports.getServiceContainer = getServiceContainer;
10 | function setServiceContainer(serviceContainer) {
11 | container = serviceContainer;
12 | }
13 | exports.setServiceContainer = setServiceContainer;
14 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/ioc/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IServiceManager = Symbol('IServiceManager');
6 | exports.IServiceContainer = Symbol('IServiceContainer');
7 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/linters/errorHandlers/baseErrorHandler.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const types_1 = require("../../common/types");
6 | class BaseErrorHandler {
7 | constructor(product, outputChannel, serviceContainer) {
8 | this.product = product;
9 | this.outputChannel = outputChannel;
10 | this.serviceContainer = serviceContainer;
11 | this.logger = this.serviceContainer.get(types_1.ILogger);
12 | this.installer = this.serviceContainer.get(types_1.IInstaller);
13 | }
14 | get nextHandler() {
15 | return this.handler;
16 | }
17 | setNextHandler(handler) {
18 | this.handler = handler;
19 | }
20 | }
21 | exports.BaseErrorHandler = BaseErrorHandler;
22 | //# sourceMappingURL=baseErrorHandler.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/linters/errorHandlers/errorHandler.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | const notInstalled_1 = require("./notInstalled");
4 | const standard_1 = require("./standard");
5 | class ErrorHandler {
6 | constructor(product, outputChannel, serviceContainer) {
7 | // Create chain of handlers.
8 | const standardErrorHandler = new standard_1.StandardErrorHandler(product, outputChannel, serviceContainer);
9 | this.handler = new notInstalled_1.NotInstalledErrorHandler(product, outputChannel, serviceContainer);
10 | this.handler.setNextHandler(standardErrorHandler);
11 | }
12 | handleError(error, resource, execInfo) {
13 | return this.handler.handleError(error, resource, execInfo);
14 | }
15 | }
16 | exports.ErrorHandler = ErrorHandler;
17 | //# sourceMappingURL=errorHandler.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/linters/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const linterAvailability_1 = require("./linterAvailability");
6 | const linterManager_1 = require("./linterManager");
7 | const lintingEngine_1 = require("./lintingEngine");
8 | const types_1 = require("./types");
9 | function registerTypes(serviceManager) {
10 | serviceManager.addSingleton(types_1.ILintingEngine, lintingEngine_1.LintingEngine);
11 | serviceManager.addSingleton(types_1.ILinterManager, linterManager_1.LinterManager);
12 | serviceManager.add(types_1.IAvailableLinterActivator, linterAvailability_1.AvailableLinterActivator);
13 | }
14 | exports.registerTypes = registerTypes;
15 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/linters/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.IAvailableLinterActivator = Symbol('IAvailableLinterActivator');
6 | exports.ILinterManager = Symbol('ILinterManager');
7 | var LintMessageSeverity;
8 | (function (LintMessageSeverity) {
9 | LintMessageSeverity[LintMessageSeverity["Hint"] = 0] = "Hint";
10 | LintMessageSeverity[LintMessageSeverity["Error"] = 1] = "Error";
11 | LintMessageSeverity[LintMessageSeverity["Warning"] = 2] = "Warning";
12 | LintMessageSeverity[LintMessageSeverity["Information"] = 3] = "Information";
13 | })(LintMessageSeverity = exports.LintMessageSeverity || (exports.LintMessageSeverity = {}));
14 | exports.ILintingEngine = Symbol('ILintingEngine');
15 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/providers/codeActionsProvider.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const vscode = require("vscode");
6 | class PythonCodeActionProvider {
7 | provideCodeActions(document, range, context, token) {
8 | const sortImports = new vscode.CodeAction('Sort imports', vscode.CodeActionKind.SourceOrganizeImports);
9 | sortImports.command = {
10 | title: 'Sort imports',
11 | command: 'python.sortImports'
12 | };
13 | return [sortImports];
14 | }
15 | }
16 | exports.PythonCodeActionProvider = PythonCodeActionProvider;
17 | //# sourceMappingURL=codeActionsProvider.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/providers/serviceRegistry.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const importSortProvider_1 = require("./importSortProvider");
6 | const types_1 = require("./types");
7 | function registerTypes(serviceManager) {
8 | serviceManager.addSingleton(types_1.ISortImportsEditingProvider, importSortProvider_1.SortImportsEditingProvider);
9 | }
10 | exports.registerTypes = registerTypes;
11 | //# sourceMappingURL=serviceRegistry.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/providers/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.ISortImportsEditingProvider = Symbol('ISortImportsEditingProvider');
6 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/refactor/contracts.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=contracts.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/telemetry/types.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/terminals/types.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | exports.ICodeExecutionService = Symbol('ICodeExecutionService');
6 | exports.ICodeExecutionHelper = Symbol('ICodeExecutionHelper');
7 | exports.ICodeExecutionManager = Symbol('ICodeExecutionManager');
8 | exports.ITerminalAutoActivation = Symbol('ITerminalAutoActivation');
9 | //# sourceMappingURL=types.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/client/workspaceSymbols/contracts.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | //# sourceMappingURL=contracts.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/history-react/cellButton.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const React = require("react");
6 | require("./cellButton.css");
7 | class CellButton extends React.Component {
8 | constructor(props) {
9 | super(props);
10 | }
11 | render() {
12 | const classNames = `cell-button cell-button-${this.props.theme}`;
13 | const innerFilter = this.props.disabled ? 'cell-button-inner-disabled-filter' : '';
14 | return (React.createElement("button", { role: 'button', "aria-pressed": 'false', disabled: this.props.disabled, title: this.props.tooltip, className: classNames, onClick: this.props.onClick },
15 | React.createElement("div", { className: innerFilter },
16 | React.createElement("div", { className: 'cell-button-child' }, this.props.children))));
17 | }
18 | }
19 | exports.CellButton = CellButton;
20 | //# sourceMappingURL=cellButton.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/history-react/index.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const React = require("react");
6 | const ReactDOM = require("react-dom");
7 | const postOffice_1 = require("../react-common/postOffice");
8 | const themeDetector_1 = require("../react-common/themeDetector");
9 | require("./index.css");
10 | const MainPanel_1 = require("./MainPanel");
11 | const theme = themeDetector_1.detectTheme();
12 | const skipDefault = postOffice_1.PostOffice.canSendMessages();
13 | ReactDOM.render(React.createElement(MainPanel_1.MainPanel, { theme: theme, skipDefault: skipDefault }), document.getElementById('root'));
14 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/history-react/menuBar.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | require("./menuBar.css");
6 | const React = require("react");
7 | // Simple 'bar'. Came up with the css by playing around here:
8 | // https://www.w3schools.com/cssref/tryit.asp?filename=trycss_float
9 | class MenuBar extends React.Component {
10 | constructor(props) {
11 | super(props);
12 | }
13 | render() {
14 | const classNames = this.props.stylePosition ?
15 | `menuBar-${this.props.stylePosition} menuBar-${this.props.stylePosition}-${this.props.theme}`
16 | : 'menuBar';
17 | return (React.createElement("div", { className: classNames }, this.props.children));
18 | }
19 | }
20 | exports.MenuBar = MenuBar;
21 | //# sourceMappingURL=menuBar.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/react-common/locReactSide.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // The react code can't use the localize.ts module because it reads from
6 | // disk. This isn't allowed inside a browswer, so we pass the collection
7 | // through the javascript.
8 | let loadedCollection;
9 | function getLocString(key, defValue) {
10 | if (!loadedCollection) {
11 | load();
12 | }
13 | if (loadedCollection && loadedCollection.hasOwnProperty(key)) {
14 | return loadedCollection[key];
15 | }
16 | return defValue;
17 | }
18 | exports.getLocString = getLocString;
19 | function load() {
20 | // tslint:disable-next-line:no-typeof-undefined
21 | if (typeof getLocStrings !== 'undefined') {
22 | loadedCollection = getLocStrings();
23 | }
24 | else {
25 | loadedCollection = {};
26 | }
27 | }
28 | //# sourceMappingURL=locReactSide.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/react-common/progress.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | require("./progress.css");
6 | const React = require("react");
7 | class Progress extends React.Component {
8 | constructor(props) {
9 | super(props);
10 | }
11 | render() {
12 | // Vscode does this with two parts, a progress container and a progress bit
13 | return (React.createElement("div", { className: 'monaco-progress-container active infinite' },
14 | React.createElement("div", { className: 'progress-bit' })));
15 | }
16 | }
17 | exports.Progress = Progress;
18 | //# sourceMappingURL=progress.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/react-common/relativeImage.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const path = require("path");
6 | const React = require("react");
7 | class RelativeImage extends React.Component {
8 | constructor(props) {
9 | super(props);
10 | this.getImageSource = () => {
11 | // tslint:disable-next-line:no-typeof-undefined
12 | if (typeof resolvePath === 'undefined') {
13 | return this.props.path;
14 | }
15 | else {
16 | return resolvePath(this.props.path);
17 | }
18 | };
19 | }
20 | render() {
21 | return (React.createElement("img", { src: this.getImageSource(), className: this.props.class, alt: path.basename(this.props.path) }));
22 | }
23 | }
24 | exports.RelativeImage = RelativeImage;
25 | //# sourceMappingURL=relativeImage.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/datascience-ui/react-common/themeDetector.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // From here:
6 | // https://stackoverflow.com/questions/37257911/detect-light-dark-theme-programatically-in-visual-studio-code
7 | // Detect vscode-light, vscode-dark, and vscode-high-contrast class name on the body element.
8 | function detectTheme() {
9 | const body = document.body;
10 | if (body) {
11 | switch (body.className) {
12 | default:
13 | case 'vscode-light':
14 | return 'vscode-light';
15 | case 'vscode-dark':
16 | return 'vscode-dark';
17 | case 'vscode-high-contrast':
18 | return 'vscode-high-contrast';
19 | }
20 | }
21 | return 'vscode-light';
22 | }
23 | exports.detectTheme = detectTheme;
24 | //# sourceMappingURL=themeDetector.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/server/dummy.js:
--------------------------------------------------------------------------------
1 | // Dummy file to ensue files under src/client get output into the "out/client" directory
2 | //# sourceMappingURL=dummy.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/constants.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | // Copyright (c) Microsoft Corporation. All rights reserved.
3 | // Licensed under the MIT License.
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | const configSettings_1 = require("../client/common/configSettings");
6 | const ciConstants_1 = require("./ciConstants");
7 | exports.TEST_TIMEOUT = 25000;
8 | exports.IS_MULTI_ROOT_TEST = isMultitrootTest();
9 | // If running on CI server, then run debugger tests ONLY if the corresponding flag is enabled.
10 | exports.TEST_DEBUGGER = ciConstants_1.IS_CI_SERVER ? ciConstants_1.IS_CI_SERVER_TEST_DEBUGGER : true;
11 | function isMultitrootTest() {
12 | // tslint:disable-next-line:no-require-imports
13 | const vscode = require('vscode');
14 | const workspace = vscode.workspace;
15 | return Array.isArray(workspace.workspaceFolders) && workspace.workspaceFolders.length > 1;
16 | }
17 | exports.IsLanguageServerTest = () => !ciConstants_1.IS_TRAVIS && (process.env.VSC_PYTHON_LANGUAGE_SERVER === '1' || !configSettings_1.PythonSettings.getInstance().jediEnabled);
18 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/core.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5 | return new (P || (P = Promise))(function (resolve, reject) {
6 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
7 | function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8 | function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
9 | step((generator = generator.apply(thisArg, _arguments || [])).next());
10 | });
11 | };
12 | Object.defineProperty(exports, "__esModule", { value: true });
13 | // File without any dependencies on VS Code.
14 | function sleep(milliseconds) {
15 | return __awaiter(this, void 0, void 0, function* () {
16 | return new Promise(resolve => setTimeout(resolve, milliseconds));
17 | });
18 | }
19 | exports.sleep = sleep;
20 | //# sourceMappingURL=core.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/debugger/common/constants.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // Sometimes PTVSD can take a while for thread & other events to be reported.
6 | exports.DEBUGGER_TIMEOUT = 20000;
7 | //# sourceMappingURL=constants.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/functionalTests.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable:no-any no-require-imports no-var-requires
6 | if (Reflect.metadata === undefined) {
7 | require('reflect-metadata');
8 | }
9 | const nonUiTests_1 = require("./nonUiTests");
10 | process.env.VSC_PYTHON_CI_TEST = '1';
11 | process.env.VSC_PYTHON_UNIT_TEST = '1'; // This is checked to make tests run fast.
12 | // this allows us to run hygiene as a git pre-commit hook or via debugger.
13 | if (require.main === module) {
14 | // When running from debugger, allow custom args.
15 | const args = nonUiTests_1.extractParams(120000);
16 | nonUiTests_1.runTests({ filePattern: '**/**.functional.test.js', grep: args.grep, timeout: args.timeout });
17 | }
18 | //# sourceMappingURL=functionalTests.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/mocks/mementos.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | class MockMemento {
4 | constructor() {
5 | this.map = new Map();
6 | }
7 | get(key, defaultValue) {
8 | const exists = this.map.has(key);
9 | // tslint:disable-next-line:no-any
10 | return exists ? this.map.get(key) : defaultValue;
11 | }
12 | // tslint:disable-next-line:no-any
13 | update(key, value) {
14 | this.map.set(key, value);
15 | return Promise.resolve();
16 | }
17 | }
18 | exports.MockMemento = MockMemento;
19 | //# sourceMappingURL=mementos.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/mocks/vsc/telemetryReporter.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | class vscMockTelemetryReporter {
6 | constructor() {
7 | //
8 | }
9 | sendTelemetryEvent() {
10 | //
11 | }
12 | }
13 | exports.vscMockTelemetryReporter = vscMockTelemetryReporter;
14 | //# sourceMappingURL=telemetryReporter.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/pythonFiles/formatting/dummy.js:
--------------------------------------------------------------------------------
1 | // Dummy ts file to ensure this folder gets created in output directory.
2 | // Code to ensure linter doesn't complain about empty files.
3 | const a = '1';
4 | //# sourceMappingURL=dummy.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/out/test/unittests.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 | 'use strict';
4 | Object.defineProperty(exports, "__esModule", { value: true });
5 | // tslint:disable:no-any no-require-imports no-var-requires
6 | if (Reflect.metadata === undefined) {
7 | require('reflect-metadata');
8 | }
9 | const nonUiTests_1 = require("./nonUiTests");
10 | process.env.VSC_PYTHON_CI_TEST = '1';
11 | process.env.VSC_PYTHON_UNIT_TEST = '1';
12 | // this allows us to run hygiene as a git pre-commit hook or via debugger.
13 | if (require.main === module) {
14 | // When running from debugger, allow custom args.
15 | const args = nonUiTests_1.extractParams();
16 | nonUiTests_1.runTests({ filePattern: '**/**.unit.test.js', grep: args.grep, timeout: args.timeout });
17 | }
18 | //# sourceMappingURL=unittests.js.map
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/PythonTools/testlauncher.py:
--------------------------------------------------------------------------------
1 | def main():
2 | import os
3 | import sys
4 | from ptvsd.visualstudio_py_debugger import DONT_DEBUG, DEBUG_ENTRYPOINTS, get_code
5 |
6 | sys.path[0] = os.getcwd()
7 | os.chdir(sys.argv[1])
8 | testFx = sys.argv[2]
9 | args = sys.argv[3:]
10 |
11 | DONT_DEBUG.append(os.path.normcase(__file__))
12 | DEBUG_ENTRYPOINTS.add(get_code(main))
13 |
14 | try:
15 | if testFx == 'pytest':
16 | import pytest
17 | pytest.main(args)
18 | else:
19 | import nose
20 | nose.run(argv=args)
21 | sys.exit()
22 | finally:
23 | pass
24 |
25 | if __name__ == '__main__':
26 | main()
27 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | __all__ = [
6 | '__version__', '__author__',
7 | 'enable_attach', 'wait_for_attach', 'break_into_debugger', 'is_attached',
8 | ]
9 | __all__ += ['enable_attach_ui', 'set_attach_ui_options', 'set_trace']
10 |
11 |
12 | # "force_pydevd" must be imported first to ensure (via side effects)
13 | # that the ptvsd-vendored copy of pydevd gets used.
14 | from ._vendored import force_pydevd
15 | from ptvsd.version import __version__, __author__
16 | from ptvsd.attach_server import (
17 | enable_attach, wait_for_attach, break_into_debugger, is_attached,
18 | )
19 | from ptvsd.attach_server import (
20 | enable_attach_ui, set_attach_ui_options, set_trace
21 | )
22 | del force_pydevd
23 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.gitignore:
--------------------------------------------------------------------------------
1 | # Byte-compiled / optimized / DLL files
2 | __pycache__/
3 | *.py[cod]
4 | *.class
5 | _pydevd_bundle/*.so
6 | # Distribution / packaging
7 | .Python
8 | env/
9 | bin/
10 | build/temp.*
11 | develop-eggs/
12 | dist/
13 | eggs/
14 | lib/
15 | lib64/
16 | parts/
17 | sdist/
18 | var/
19 | *.egg-info/
20 | .installed.cfg
21 | *.egg
22 |
23 | # Installer logs
24 | pip-log.txt
25 | pip-delete-this-directory.txt
26 |
27 | # Unit test / coverage reports
28 | htmlcov/
29 | .tox/
30 | .coverage
31 | .cache
32 | nosetests.xml
33 | coverage.xml
34 |
35 | snippet.py
36 | build/*
37 | .pytest_cache
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | PyDev.Debugger
4 |
5 |
6 |
7 |
8 |
9 | org.python.pydev.PyDevBuilder
10 |
11 |
12 |
13 |
14 |
15 | org.python.pydev.pythonNature
16 |
17 |
18 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.pydevproject:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | /${PROJECT_DIR_NAME}
5 | /${PROJECT_DIR_NAME}/build_tools
6 | /${PROJECT_DIR_NAME}/jython_test_deps/ant.jar
7 | /${PROJECT_DIR_NAME}/jython_test_deps/junit.jar
8 |
9 | python 3.0
10 | Default
11 | 2.6, 2.7, 3.6
12 |
13 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.settings/org.eclipse.core.resources.prefs:
--------------------------------------------------------------------------------
1 | eclipse.preferences.version=1
2 | encoding//.settings/org.python.pydev.yaml=UTF-8
3 | encoding//pydev_ipython/inputhook.py=utf-8
4 | encoding//pydev_ipython/inputhookglut.py=utf-8
5 | encoding//pydev_ipython/inputhookpyglet.py=utf-8
6 | encoding//pydev_ipython/inputhookqt4.py=utf-8
7 | encoding//pydev_ipython/inputhookqt5.py=utf-8
8 | encoding//pydev_ipython/inputhookwx.py=utf-8
9 | encoding//pydevd_attach_to_process/winappdbg/__init__.py=utf-8
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.settings/org.python.pydev.yaml:
--------------------------------------------------------------------------------
1 | ADD_NEW_LINE_AT_END_OF_FILE: true
2 | AUTOPEP8_PARAMETERS: ''
3 | BREAK_IMPORTS_MODE: ESCAPE
4 | DATE_FIELD_FORMAT: yyyy-MM-dd
5 | DATE_FIELD_NAME: __updated__
6 | DELETE_UNUSED_IMPORTS: false
7 | ENABLE_DATE_FIELD_ACTION: false
8 | FORMAT_BEFORE_SAVING: false
9 | FORMAT_ONLY_CHANGED_LINES: false
10 | FORMAT_WITH_AUTOPEP8: false
11 | FROM_IMPORTS_FIRST: false
12 | GROUP_IMPORTS: true
13 | MULTILINE_IMPORTS: true
14 | PEP8_IMPORTS: true
15 | PYDEV_TEST_RUNNER: '2'
16 | PYDEV_TEST_RUNNER_DEFAULT_PARAMETERS: "--capture=no\r\n-vv"
17 | PYDEV_USE_PYUNIT_VIEW: true
18 | SAVE_ACTIONS_ONLY_ON_WORKSPACE_FILES: true
19 | SORT_IMPORTS_ON_SAVE: false
20 | SORT_NAMES_GROUPED: false
21 | SPACES_BEFORE_COMMENT: '2'
22 | SPACES_IN_START_COMMENT: '1'
23 | TRIM_EMPTY_LINES: false
24 | TRIM_MULTILINE_LITERALS: false
25 | USE_ASSIGN_WITH_PACES_INSIDER_PARENTESIS: false
26 | USE_OPERATORS_WITH_SPACE: true
27 | USE_SPACE_AFTER_COMMA: true
28 | USE_SPACE_FOR_PARENTESIS: false
29 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.travis_install_jython_deps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ev
3 |
4 | pip install pytest
5 | pip install untangle
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/.travis_install_python_deps.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ev
3 |
4 | source activate build_env
5 | conda install --yes numpy ipython pytest cython psutil
6 |
7 | if [ "$PYDEVD_PYTHON_VERSION" = "2.6" ]; then
8 | conda install --yes pyqt=4
9 | pip install pympler==0.5
10 | # Django 1.7 does not support Python 2.7
11 | else
12 | # pytest-xdist not available for python 2.6
13 | pip install pytest-xdist
14 | pip install pympler
15 | fi
16 |
17 | if [ "$PYDEVD_PYTHON_VERSION" = "2.7" ]; then
18 | conda install --yes pyqt=4
19 | pip install "django>=1.7,<1.8"
20 |
21 | fi
22 |
23 | if [ "$PYDEVD_PYTHON_VERSION" = "3.5" ]; then
24 | conda install --yes pyqt=5
25 | pip install "django>=1.7,<1.8"
26 | fi
27 |
28 | pip install untangle
29 | pip install scapy==2.4.0
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/MANIFEST.in:
--------------------------------------------------------------------------------
1 | include *.rst *.txt *.md LICENSE .travis.yml appveyor.yml *.pyx
2 | recursive-include pydevd_attach_to_process *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx
3 | recursive-include _pydevd_bundle *.pyx
4 | recursive-include build_tools *.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/_pydev_log.py:
--------------------------------------------------------------------------------
1 | import traceback
2 | import sys
3 | try:
4 | import StringIO
5 | except:
6 | import io as StringIO #Python 3.0
7 |
8 |
9 | class Log:
10 |
11 | def __init__(self):
12 | self._contents = []
13 |
14 | def add_content(self, *content):
15 | self._contents.append(' '.join(content))
16 |
17 | def add_exception(self):
18 | s = StringIO.StringIO()
19 | exc_info = sys.exc_info()
20 | traceback.print_exception(exc_info[0], exc_info[1], exc_info[2], limit=None, file=s)
21 | self._contents.append(s.getvalue())
22 |
23 |
24 | def get_contents(self):
25 | return '\n'.join(self._contents)
26 |
27 | def clear_log(self):
28 | del self._contents[:]
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/fix_getpass.py:
--------------------------------------------------------------------------------
1 | def fix_getpass():
2 | try:
3 | import getpass
4 | except ImportError:
5 | return #If we can't import it, we can't fix it
6 | import warnings
7 | fallback = getattr(getpass, 'fallback_getpass', None) # >= 2.6
8 | if not fallback:
9 | fallback = getpass.default_getpass # <= 2.5 @UndefinedVariable
10 | getpass.getpass = fallback
11 | if hasattr(getpass, 'GetPassWarning'):
12 | warnings.simplefilter("ignore", category=getpass.GetPassWarning)
13 |
14 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py:
--------------------------------------------------------------------------------
1 | from _pydev_imps._pydev_saved_modules import threading
2 |
3 | # Hack for https://www.brainwy.com/tracker/PyDev/363 (i.e.: calling isAlive() can throw AssertionError under some
4 | # circumstances).
5 | # It is required to debug threads started by start_new_thread in Python 3.4
6 | _temp = threading.Thread()
7 | if hasattr(_temp, '_is_stopped'): # Python 3.x has this
8 | def is_thread_alive(t):
9 | return not t._is_stopped
10 |
11 | elif hasattr(_temp, '_Thread__stopped'): # Python 2.x has this
12 | def is_thread_alive(t):
13 | return not t._Thread__stopped
14 |
15 | else:
16 | # Jython wraps a native java thread and thus only obeys the public API.
17 | def is_thread_alive(t):
18 | return t.isAlive()
19 |
20 | del _temp
21 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_log.py:
--------------------------------------------------------------------------------
1 | import sys
2 | from _pydevd_bundle.pydevd_constants import DebugInfoHolder
3 | from _pydev_imps._pydev_saved_modules import threading
4 | currentThread = threading.currentThread
5 |
6 |
7 | import traceback
8 |
9 | WARN_ONCE_MAP = {}
10 |
11 | def stderr_write(message):
12 | sys.stderr.write(message)
13 | sys.stderr.write("\n")
14 |
15 |
16 | def debug(message):
17 | if DebugInfoHolder.DEBUG_TRACE_LEVEL>2:
18 | stderr_write(message)
19 |
20 |
21 | def warn(message):
22 | if DebugInfoHolder.DEBUG_TRACE_LEVEL>1:
23 | stderr_write(message)
24 |
25 |
26 | def info(message):
27 | stderr_write(message)
28 |
29 |
30 | def error(message, tb=False):
31 | stderr_write(message)
32 | if tb:
33 | traceback.print_exc()
34 |
35 |
36 | def error_once(message):
37 | if message not in WARN_ONCE_MAP:
38 | WARN_ONCE_MAP[message] = True
39 | error(message)
40 |
41 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_override.py:
--------------------------------------------------------------------------------
1 | def overrides(method):
2 | '''
3 | Meant to be used as
4 |
5 | class B:
6 | @overrides(A.m1)
7 | def m1(self):
8 | pass
9 | '''
10 | def wrapper(func):
11 | if func.__name__ != method.__name__:
12 | msg = "Wrong @override: %r expected, but overwriting %r."
13 | msg = msg % (func.__name__, method.__name__)
14 | raise AssertionError(msg)
15 |
16 | if func.__doc__ is None:
17 | func.__doc__ = method.__doc__
18 |
19 | return func
20 |
21 | return wrapper
22 |
23 | def implements(method):
24 | def wrapper(func):
25 | if func.__name__ != method.__name__:
26 | msg = "Wrong @implements: %r expected, but implementing %r."
27 | msg = msg % (func.__name__, method.__name__)
28 | raise AssertionError(msg)
29 |
30 | if func.__doc__ is None:
31 | func.__doc__ = method.__doc__
32 |
33 | return func
34 |
35 | return wrapper
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_bundle/pydev_versioncheck.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 | def versionok_for_gui():
4 | ''' Return True if running Python is suitable for GUI Event Integration and deeper IPython integration '''
5 | # We require Python 2.6+ ...
6 | if sys.hexversion < 0x02060000:
7 | return False
8 | # Or Python 3.2+
9 | if sys.hexversion >= 0x03000000 and sys.hexversion < 0x03020000:
10 | return False
11 | # Not supported under Jython nor IronPython
12 | if sys.platform.startswith("java") or sys.platform.startswith('cli'):
13 | return False
14 |
15 | return True
16 |
17 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/_pydev_execfile.py:
--------------------------------------------------------------------------------
1 | #We must redefine it in Py3k if it's not already there
2 | def execfile(file, glob=None, loc=None):
3 | if glob is None:
4 | import sys
5 | glob = sys._getframe().f_back.f_globals
6 | if loc is None:
7 | loc = glob
8 |
9 | # It seems that the best way is using tokenize.open(): http://code.activestate.com/lists/python-dev/131251/
10 | # (but tokenize.open() is only available for python 3.2)
11 | import tokenize
12 | if hasattr(tokenize, 'open'):
13 | # version 3.2
14 | stream = tokenize.open(file) # @UndefinedVariable
15 | else:
16 | # version 3.0 or 3.1
17 | detect_encoding = tokenize.detect_encoding(open(file, mode="rb" ).readline)
18 | stream = open(file, encoding=detect_encoding[0])
19 | try:
20 | contents = stream.read()
21 | finally:
22 | stream.close()
23 |
24 | #execute the script (note: it's important to compile first to have the filename set in debug mode)
25 | exec(compile(contents+"\n", file, 'exec'), glob, loc)
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_imps/_pydev_saved_modules.py:
--------------------------------------------------------------------------------
1 | import sys
2 | IS_PY2 = sys.version_info < (3,)
3 |
4 | import threading
5 |
6 | import time
7 |
8 | import socket
9 |
10 | import select
11 |
12 | if IS_PY2:
13 | import thread
14 | import Queue as _queue
15 | import xmlrpclib
16 | import SimpleXMLRPCServer as _pydev_SimpleXMLRPCServer
17 | import BaseHTTPServer
18 | else:
19 | import _thread as thread
20 | import queue as _queue
21 | import xmlrpc.client as xmlrpclib
22 | import xmlrpc.server as _pydev_SimpleXMLRPCServer
23 | import http.server as BaseHTTPServer
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_runfiles/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydev_runfiles/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_exec.py:
--------------------------------------------------------------------------------
1 | def Exec(exp, global_vars, local_vars=None):
2 | if local_vars is not None:
3 | exec exp in global_vars, local_vars
4 | else:
5 | exec exp in global_vars
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_exec2.py:
--------------------------------------------------------------------------------
1 | def Exec(exp, global_vars, local_vars=None):
2 | if local_vars is not None:
3 | exec(exp, global_vars, local_vars)
4 | else:
5 | exec(exp, global_vars)
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_bundle/pydevd_kill_all_pydevd_threads.py:
--------------------------------------------------------------------------------
1 | from _pydevd_bundle.pydevd_comm import PyDBDaemonThread
2 | from _pydevd_bundle.pydevd_constants import dict_keys
3 |
4 | def kill_all_pydev_threads():
5 | threads = dict_keys(PyDBDaemonThread.created_pydb_daemon_threads)
6 | for t in threads:
7 | if hasattr(t, 'do_kill_pydev_thread'):
8 | t.do_kill_pydev_thread()
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_frame_eval/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/_pydevd_frame_eval/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Feb 04 13:39:02 CET 2016
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-bin.zip
7 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_app_engine_debug_startup.py:
--------------------------------------------------------------------------------
1 | if False:
2 | config = None
3 |
4 |
5 | # See: https://docs.google.com/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit
6 | if ':' not in config.version_id:
7 | # The default server version_id does not contain ':'
8 | import json
9 | import os
10 | import sys
11 |
12 | startup = config.python_config.startup_args
13 | if not startup:
14 | raise AssertionError('Expected --python_startup_args to be passed from the pydev debugger.')
15 |
16 | setup = json.loads(startup)
17 | pydevd_path = setup['pydevd']
18 | sys.path.append(os.path.dirname(pydevd_path))
19 |
20 | import pydevd
21 | pydevd.settrace(setup['client'], port=setup['port'], suspend=False, trace_only_current_thread=False)
22 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/README:
--------------------------------------------------------------------------------
1 | # Parts of IPython, files from: https://github.com/ipython/ipython/tree/rel-1.0.0/IPython
2 | # The files in this package are extracted from IPython to aid the main loop integration
3 | # See tests_mainloop for some manually runable tests
4 |
5 | # What we are doing is reusing the "inputhook" functionality (i.e. what in IPython
6 | # ends up on PyOS_InputHook) and using it in the pydevconsole context.
7 | # Rather that having the callbacks called in PyOS_InputHook, we use a custom XML-RPC
8 | # Server (HookableXMLRPCServer) that calls the inputhook when idle
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/inputhooktk.py:
--------------------------------------------------------------------------------
1 | # encoding: utf-8
2 | # Unlike what IPython does, we need to have an explicit inputhook because tkinter handles
3 | # input hook in the C Source code
4 |
5 | #-----------------------------------------------------------------------------
6 | # Imports
7 | #-----------------------------------------------------------------------------
8 |
9 | from pydev_ipython.inputhook import stdin_ready
10 |
11 | #-----------------------------------------------------------------------------
12 | # Code
13 | #-----------------------------------------------------------------------------
14 |
15 | TCL_DONT_WAIT = 1 << 1
16 |
17 | def create_inputhook_tk(app):
18 | def inputhook_tk():
19 | while app.dooneevent(TCL_DONT_WAIT) == 1:
20 | if stdin_ready():
21 | break
22 | return 0
23 | return inputhook_tk
24 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_ipython/qt.py:
--------------------------------------------------------------------------------
1 | """ A Qt API selector that can be used to switch between PyQt and PySide.
2 |
3 | This uses the ETS 4.0 selection pattern of:
4 | PySide first, PyQt with API v2. second.
5 |
6 | Do not use this if you need PyQt with the old QString/QVariant API.
7 | """
8 |
9 | import os
10 |
11 | from pydev_ipython.qt_loaders import (load_qt, QT_API_PYSIDE,
12 | QT_API_PYQT, QT_API_PYQT5)
13 |
14 | QT_API = os.environ.get('QT_API', None)
15 | if QT_API not in [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5, None]:
16 | raise RuntimeError("Invalid Qt API %r, valid values are: %r, %r" %
17 | (QT_API, QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5))
18 | if QT_API is None:
19 | api_opts = [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5]
20 | else:
21 | api_opts = [QT_API]
22 |
23 | QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
24 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_pysrc.py:
--------------------------------------------------------------------------------
1 | '''An empty file in pysrc that can be imported (from sitecustomize) to find the location of pysrc'''
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydev_sitecustomize/__not_in_default_pythonpath.txt:
--------------------------------------------------------------------------------
1 | (no __init__.py file)
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/README.txt:
--------------------------------------------------------------------------------
1 | This folder contains the utilities to attach a target process to the pydev debugger.
2 |
3 | The main module to be called for the attach is:
4 |
5 | attach_pydevd.py
6 |
7 | it should be called as;
8 |
9 | python attach_pydevd.py --port 5678 --pid 1234
10 |
11 | Note that the client is responsible for having a remote debugger alive in the given port for the attach to work.
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_always_live_program.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import struct
3 | print('Executable: %s' % sys.executable)
4 | import os
5 | def loop_in_thread():
6 | while True:
7 | import time
8 | time.sleep(.5)
9 | sys.stdout.write('#')
10 | sys.stdout.flush()
11 |
12 | import threading
13 | threading.Thread(target=loop_in_thread).start()
14 |
15 |
16 | def is_python_64bit():
17 | return (struct.calcsize('P') == 8)
18 |
19 | print('Is 64: %s' % is_python_64bit())
20 |
21 | if __name__ == '__main__':
22 | print('pid:%s' % (os.getpid()))
23 | i = 0
24 | while True:
25 | i += 1
26 | import time
27 | time.sleep(.5)
28 | sys.stdout.write('.')
29 | sys.stdout.flush()
30 | if i % 40 == 0:
31 | sys.stdout.write('\n')
32 | sys.stdout.flush()
33 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_check.py:
--------------------------------------------------------------------------------
1 | import add_code_to_python_process
2 | print add_code_to_python_process.run_python_code(3736, "print(20)", connect_debugger_tracing=False)
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/_test_attach_to_process.py:
--------------------------------------------------------------------------------
1 | import subprocess
2 | import sys
3 | print(sys.executable)
4 |
5 | if __name__ == '__main__':
6 | p = subprocess.Popen([sys.executable, '-u', '_always_live_program.py'])
7 | import attach_pydevd
8 | attach_pydevd.main(attach_pydevd.process_command_line(['--pid', str(p.pid)]))
9 | p.wait()
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_script.py:
--------------------------------------------------------------------------------
1 | def attach(port, host):
2 | try:
3 | import pydevd
4 | pydevd.stoptrace() #I.e.: disconnect if already connected
5 | # pydevd.DebugInfoHolder.DEBUG_RECORD_SOCKET_READS = True
6 | # pydevd.DebugInfoHolder.DEBUG_TRACE_BREAKPOINTS = 3
7 | # pydevd.DebugInfoHolder.DEBUG_TRACE_LEVEL = 3
8 | pydevd.settrace(
9 | port=port,
10 | host=host,
11 | stdoutToServer=True,
12 | stderrToServer=True,
13 | overwrite_prev_trace=True,
14 | suspend=False,
15 | trace_only_current_thread=False,
16 | patch_multiprocessing=False,
17 | )
18 | except:
19 | import traceback;traceback.print_exc()
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dylib
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/dll/compile_dll.bat:
--------------------------------------------------------------------------------
1 | call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
2 | cl -DUNICODE -D_UNICODE /EHsc /LD attach.cpp /link /out:attach_x86.dll
3 | copy attach_x86.dll ..\attach_x86.dll /Y
4 |
5 |
6 |
7 | call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
8 | cl -DUNICODE -D_UNICODE /EHsc /LD attach.cpp /link /out:attach_amd64.dll
9 | copy attach_amd64.dll ..\attach_amd64.dll /Y
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/compile_mac.sh:
--------------------------------------------------------------------------------
1 | g++ -fPIC -D_REENTRANT -arch x86_64 I. -c -o attach_linux_x86_64.o attach_linux.c
2 | g++ -dynamiclib -arch x86_64 -o attach_x86_64.dylib attach_linux_x86_64.o -lc
3 |
4 |
5 | g++ -fPIC -D_REENTRANT -arch i386 -I. -c -o attach_linux_x86.o attach_linux.c
6 | g++ -dynamiclib -arch i386 -o attach_x86.dylib attach_linux_x86.o -lc
7 |
8 |
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/compile_so.sh:
--------------------------------------------------------------------------------
1 | g++ -m64 -shared -o attach_linux_amd64.so -fPIC -nostartfiles attach_linux.c
2 | mv attach_linux_amd64.so ../attach_linux_amd64.so
3 |
4 | echo Note: may need "sudo apt-get install libx32gcc-4.8-dev" and "sudo apt-get install libc6-dev-i386" and "sudo apt-get install g++-multilib" to compile 32 bits
5 |
6 | g++ -m32 -shared -o attach_linux_x86.so -fPIC -nostartfiles attach_linux.c
7 | mv attach_linux_x86.so ../attach_linux_x86.so
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/linux/gdb_threads_settrace.py:
--------------------------------------------------------------------------------
1 | # This file is meant to be run inside GDB as a command after
2 | # the attach_linux.so dll has already been loaded to settrace for all threads.
3 | if __name__ == '__main__':
4 | #print('Startup GDB in Python!')
5 |
6 | try:
7 | show_debug_info = 0
8 | is_debug = 0
9 | for t in list(gdb.selected_inferior().threads()):
10 | t.switch()
11 | if t.is_stopped():
12 | #print('Will settrace in: %s' % (t,))
13 | gdb.execute("call (int)SetSysTraceFunc(%s, %s)" % (
14 | show_debug_info, is_debug))
15 | except:
16 | import traceback;traceback.print_exc()
17 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_attach_to_process/winappdbg/plugins/README:
--------------------------------------------------------------------------------
1 | Here go the plugins for the interactive debugger.
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_concurrency_analyser/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_concurrency_analyser/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/__init__.py:
--------------------------------------------------------------------------------
1 | try:
2 | __import__('pkg_resources').declare_namespace(__name__)
3 | except ImportError:
4 | import pkgutil
5 | __path__ = pkgutil.extend_path(__path__, __name__)
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_helpers.py:
--------------------------------------------------------------------------------
1 | import sys
2 |
3 |
4 | def find_cached_module(mod_name):
5 | return sys.modules.get(mod_name, None)
6 |
7 | def find_mod_attr(mod_name, attr):
8 | mod = find_cached_module(mod_name)
9 | if mod is None:
10 | return None
11 | return getattr(mod, attr, None)
12 |
13 |
14 | def find_class_name(val):
15 | class_name = str(val.__class__)
16 | if class_name.find('.') != -1:
17 | class_name = class_name.split('.')[-1]
18 |
19 | elif class_name.find("'") != -1: #does not have '.' (could be something like )
20 | class_name = class_name[class_name.index("'") + 1:]
21 |
22 | if class_name.endswith("'>"):
23 | class_name = class_name[:-2]
24 |
25 | return class_name
26 |
27 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd_plugins/extensions/types/pydevd_plugins_django_form_str.py:
--------------------------------------------------------------------------------
1 | from _pydevd_bundle.pydevd_extension_api import StrPresentationProvider
2 | from .pydevd_helpers import find_mod_attr, find_class_name
3 |
4 |
5 | class DjangoFormStr(object):
6 | def can_provide(self, type_object, type_name):
7 | form_class = find_mod_attr('django.forms', 'Form')
8 | return form_class is not None and issubclass(type_object, form_class)
9 |
10 | def get_str(self, val):
11 | return '%s: %r' % (find_class_name(val), val)
12 |
13 | import sys
14 |
15 | if not sys.platform.startswith("java"):
16 | StrPresentationProvider.register(DjangoFormStr)
17 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pytest.ini:
--------------------------------------------------------------------------------
1 | [pytest]
2 | norecursedirs=tests_runfiles/samples
3 | addopts=-vv
4 | testpaths=test_pydevd_reload tests tests_mainloop tests_python tests_runfiles
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/isort_container/isort/__main__.py:
--------------------------------------------------------------------------------
1 | from isort.main import main
2 |
3 | main()
4 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/isort_container/isort/pylama_isort.py:
--------------------------------------------------------------------------------
1 | import os
2 | import sys
3 |
4 | from pylama.lint import Linter as BaseLinter
5 |
6 | from .isort import SortImports
7 |
8 |
9 | class Linter(BaseLinter):
10 |
11 | def allow(self, path):
12 | """Determine if this path should be linted."""
13 | return path.endswith('.py')
14 |
15 | def run(self, path, **meta):
16 | """Lint the file. Return an array of error dicts if appropriate."""
17 | with open(os.devnull, 'w') as devnull:
18 | # Suppress isort messages
19 | sys.stdout = devnull
20 |
21 | if SortImports(path, check=True).incorrectly_sorted:
22 | return [{
23 | 'lnum': 0,
24 | 'col': 0,
25 | 'text': 'Incorrectly sorted imports.',
26 | 'type': 'ISORT'
27 | }]
28 | else:
29 | return []
30 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/.gitignore:
--------------------------------------------------------------------------------
1 | *.pickle
2 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/PatternGrammar.txt:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | # A grammar to describe tree matching patterns.
5 | # Not shown here:
6 | # - 'TOKEN' stands for any token (leaf node)
7 | # - 'any' stands for any node (leaf or interior)
8 | # With 'any' we can still specify the sub-structure.
9 |
10 | # The start symbol is 'Matcher'.
11 |
12 | Matcher: Alternatives ENDMARKER
13 |
14 | Alternatives: Alternative ('|' Alternative)*
15 |
16 | Alternative: (Unit | NegatedUnit)+
17 |
18 | Unit: [NAME '='] ( STRING [Repeater]
19 | | NAME [Details] [Repeater]
20 | | '(' Alternatives ')' [Repeater]
21 | | '[' Alternatives ']'
22 | )
23 |
24 | NegatedUnit: 'not' (STRING | NAME [Details] | '(' Alternatives ')')
25 |
26 | Repeater: '*' | '+' | '{' NUMBER [',' NUMBER] '}'
27 |
28 | Details: '<' Alternatives '>'
29 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/__init__.py:
--------------------------------------------------------------------------------
1 | #empty
2 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/__main__.py:
--------------------------------------------------------------------------------
1 | import sys
2 | from .main import main
3 |
4 | sys.exit(main("lib2to3.fixes"))
5 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/__init__.py:
--------------------------------------------------------------------------------
1 | # Dummy file to make this directory a package.
2 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_basestring.py:
--------------------------------------------------------------------------------
1 | """Fixer for basestring -> str."""
2 | # Author: Christian Heimes
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 | class FixBasestring(fixer_base.BaseFix):
9 | BM_compatible = True
10 |
11 | PATTERN = "'basestring'"
12 |
13 | def transform(self, node, results):
14 | return Name(u"str", prefix=node.prefix)
15 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_buffer.py:
--------------------------------------------------------------------------------
1 | # Copyright 2007 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that changes buffer(...) into memoryview(...)."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixBuffer(fixer_base.BaseFix):
12 | BM_compatible = True
13 |
14 | explicit = True # The user must ask for this fixer
15 |
16 | PATTERN = """
17 | power< name='buffer' trailer< '(' [any] ')' > any* >
18 | """
19 |
20 | def transform(self, node, results):
21 | name = results["name"]
22 | name.replace(Name(u"memoryview", prefix=name.prefix))
23 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_funcattrs.py:
--------------------------------------------------------------------------------
1 | """Fix function attribute names (f.func_x -> f.__x__)."""
2 | # Author: Collin Winter
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 |
9 | class FixFuncattrs(fixer_base.BaseFix):
10 | BM_compatible = True
11 |
12 | PATTERN = """
13 | power< any+ trailer< '.' attr=('func_closure' | 'func_doc' | 'func_globals'
14 | | 'func_name' | 'func_defaults' | 'func_code'
15 | | 'func_dict') > any* >
16 | """
17 |
18 | def transform(self, node, results):
19 | attr = results["attr"][0]
20 | attr.replace(Name((u"__%s__" % attr.value[5:]),
21 | prefix=attr.prefix))
22 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_future.py:
--------------------------------------------------------------------------------
1 | """Remove __future__ imports
2 |
3 | from __future__ import foo is replaced with an empty line.
4 | """
5 | # Author: Christian Heimes
6 |
7 | # Local imports
8 | from .. import fixer_base
9 | from ..fixer_util import BlankLine
10 |
11 | class FixFuture(fixer_base.BaseFix):
12 | BM_compatible = True
13 |
14 | PATTERN = """import_from< 'from' module_name="__future__" 'import' any >"""
15 |
16 | # This should be run last -- some things check for the import
17 | run_order = 10
18 |
19 | def transform(self, node, results):
20 | new = BlankLine()
21 | new.prefix = node.prefix
22 | return new
23 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_getcwdu.py:
--------------------------------------------------------------------------------
1 | """
2 | Fixer that changes os.getcwdu() to os.getcwd().
3 | """
4 | # Author: Victor Stinner
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 | class FixGetcwdu(fixer_base.BaseFix):
11 | BM_compatible = True
12 |
13 | PATTERN = """
14 | power< 'os' trailer< dot='.' name='getcwdu' > any* >
15 | """
16 |
17 | def transform(self, node, results):
18 | name = results["name"]
19 | name.replace(Name(u"getcwd", prefix=name.prefix))
20 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_imports2.py:
--------------------------------------------------------------------------------
1 | """Fix incompatible imports and module references that must be fixed after
2 | fix_imports."""
3 | from . import fix_imports
4 |
5 |
6 | MAPPING = {
7 | 'whichdb': 'dbm',
8 | 'anydbm': 'dbm',
9 | }
10 |
11 |
12 | class FixImports2(fix_imports.FixImports):
13 |
14 | run_order = 7
15 |
16 | mapping = MAPPING
17 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_input.py:
--------------------------------------------------------------------------------
1 | """Fixer that changes input(...) into eval(input(...))."""
2 | # Author: Andre Roberge
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Call, Name
7 | from .. import patcomp
8 |
9 |
10 | context = patcomp.compile_pattern("power< 'eval' trailer< '(' any ')' > >")
11 |
12 |
13 | class FixInput(fixer_base.BaseFix):
14 | BM_compatible = True
15 | PATTERN = """
16 | power< 'input' args=trailer< '(' [any] ')' > >
17 | """
18 |
19 | def transform(self, node, results):
20 | # If we're already wrapped in a eval() call, we're done.
21 | if context.match(node.parent.parent):
22 | return
23 |
24 | new = node.clone()
25 | new.prefix = u""
26 | return Call(Name(u"eval"), [new], prefix=node.prefix)
27 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_long.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that turns 'long' into 'int' everywhere.
5 | """
6 |
7 | # Local imports
8 | from lib2to3 import fixer_base
9 | from lib2to3.fixer_util import is_probably_builtin
10 |
11 |
12 | class FixLong(fixer_base.BaseFix):
13 | BM_compatible = True
14 | PATTERN = "'long'"
15 |
16 | def transform(self, node, results):
17 | if is_probably_builtin(node):
18 | node.value = u"int"
19 | node.changed()
20 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_methodattrs.py:
--------------------------------------------------------------------------------
1 | """Fix bound method attributes (method.im_? -> method.__?__).
2 | """
3 | # Author: Christian Heimes
4 |
5 | # Local imports
6 | from .. import fixer_base
7 | from ..fixer_util import Name
8 |
9 | MAP = {
10 | "im_func" : "__func__",
11 | "im_self" : "__self__",
12 | "im_class" : "__self__.__class__"
13 | }
14 |
15 | class FixMethodattrs(fixer_base.BaseFix):
16 | BM_compatible = True
17 | PATTERN = """
18 | power< any+ trailer< '.' attr=('im_func' | 'im_self' | 'im_class') > any* >
19 | """
20 |
21 | def transform(self, node, results):
22 | attr = results["attr"][0]
23 | new = unicode(MAP[attr.value])
24 | attr.replace(Name(new, prefix=attr.prefix))
25 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_ne.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that turns <> into !=."""
5 |
6 | # Local imports
7 | from .. import pytree
8 | from ..pgen2 import token
9 | from .. import fixer_base
10 |
11 |
12 | class FixNe(fixer_base.BaseFix):
13 | # This is so simple that we don't need the pattern compiler.
14 |
15 | _accept_type = token.NOTEQUAL
16 |
17 | def match(self, node):
18 | # Override
19 | return node.value == u"<>"
20 |
21 | def transform(self, node, results):
22 | new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
23 | return new
24 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_nonzero.py:
--------------------------------------------------------------------------------
1 | """Fixer for __nonzero__ -> __bool__ methods."""
2 | # Author: Collin Winter
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name, syms
7 |
8 | class FixNonzero(fixer_base.BaseFix):
9 | BM_compatible = True
10 | PATTERN = """
11 | classdef< 'class' any+ ':'
12 | suite< any*
13 | funcdef< 'def' name='__nonzero__'
14 | parameters< '(' NAME ')' > any+ >
15 | any* > >
16 | """
17 |
18 | def transform(self, node, results):
19 | name = results["name"]
20 | new = Name(u"__bool__", prefix=name.prefix)
21 | name.replace(new)
22 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_numliterals.py:
--------------------------------------------------------------------------------
1 | """Fixer that turns 1L into 1, 0755 into 0o755.
2 | """
3 | # Copyright 2007 Georg Brandl.
4 | # Licensed to PSF under a Contributor Agreement.
5 |
6 | # Local imports
7 | from ..pgen2 import token
8 | from .. import fixer_base
9 | from ..fixer_util import Number
10 |
11 |
12 | class FixNumliterals(fixer_base.BaseFix):
13 | # This is so simple that we don't need the pattern compiler.
14 |
15 | _accept_type = token.NUMBER
16 |
17 | def match(self, node):
18 | # Override
19 | return (node.value.startswith(u"0") or node.value[-1] in u"Ll")
20 |
21 | def transform(self, node, results):
22 | val = node.value
23 | if val[-1] in u'Ll':
24 | val = val[:-1]
25 | elif val.startswith(u'0') and val.isdigit() and len(set(val)) > 1:
26 | val = u"0o" + val[1:]
27 |
28 | return Number(val, prefix=node.prefix)
29 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_raw_input.py:
--------------------------------------------------------------------------------
1 | """Fixer that changes raw_input(...) into input(...)."""
2 | # Author: Andre Roberge
3 |
4 | # Local imports
5 | from .. import fixer_base
6 | from ..fixer_util import Name
7 |
8 | class FixRawInput(fixer_base.BaseFix):
9 |
10 | BM_compatible = True
11 | PATTERN = """
12 | power< name='raw_input' trailer< '(' [any] ')' > any* >
13 | """
14 |
15 | def transform(self, node, results):
16 | name = results["name"]
17 | name.replace(Name(u"input", prefix=name.prefix))
18 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_reduce.py:
--------------------------------------------------------------------------------
1 | # Copyright 2008 Armin Ronacher.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer for reduce().
5 |
6 | Makes sure reduce() is imported from the functools module if reduce is
7 | used in that module.
8 | """
9 |
10 | from lib2to3 import fixer_base
11 | from lib2to3.fixer_util import touch_import
12 |
13 |
14 |
15 | class FixReduce(fixer_base.BaseFix):
16 |
17 | BM_compatible = True
18 | order = "pre"
19 |
20 | PATTERN = """
21 | power< 'reduce'
22 | trailer< '('
23 | arglist< (
24 | (not(argument) any ','
25 | not(argument) any) |
26 | (not(argument) any ','
27 | not(argument) any ','
28 | not(argument) any)
29 | ) >
30 | ')' >
31 | >
32 | """
33 |
34 | def transform(self, node, results):
35 | touch_import(u'functools', u'reduce', node)
36 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_repr.py:
--------------------------------------------------------------------------------
1 | # Copyright 2006 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer that transforms `xyzzy` into repr(xyzzy)."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Call, Name, parenthesize
9 |
10 |
11 | class FixRepr(fixer_base.BaseFix):
12 |
13 | BM_compatible = True
14 | PATTERN = """
15 | atom < '`' expr=any '`' >
16 | """
17 |
18 | def transform(self, node, results):
19 | expr = results["expr"].clone()
20 |
21 | if expr.type == self.syms.testlist1:
22 | expr = parenthesize(expr)
23 | return Call(Name(u"repr"), [expr], prefix=node.prefix)
24 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_standarderror.py:
--------------------------------------------------------------------------------
1 | # Copyright 2007 Google, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """Fixer for StandardError -> Exception."""
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixStandarderror(fixer_base.BaseFix):
12 | BM_compatible = True
13 | PATTERN = """
14 | 'StandardError'
15 | """
16 |
17 | def transform(self, node, results):
18 | return Name(u"Exception", prefix=node.prefix)
19 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_xreadlines.py:
--------------------------------------------------------------------------------
1 | """Fix "for x in f.xreadlines()" -> "for x in f".
2 |
3 | This fixer will also convert g(f.xreadlines) into g(f.__iter__)."""
4 | # Author: Collin Winter
5 |
6 | # Local imports
7 | from .. import fixer_base
8 | from ..fixer_util import Name
9 |
10 |
11 | class FixXreadlines(fixer_base.BaseFix):
12 | BM_compatible = True
13 | PATTERN = """
14 | power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > >
15 | |
16 | power< any+ trailer< '.' no_call='xreadlines' > >
17 | """
18 |
19 | def transform(self, node, results):
20 | no_call = results.get("no_call")
21 |
22 | if no_call:
23 | no_call.replace(Name(u"__iter__", prefix=no_call.prefix))
24 | else:
25 | node.replace([x.clone() for x in results["call"]])
26 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/fixes/fix_zip.py:
--------------------------------------------------------------------------------
1 | """
2 | Fixer that changes zip(seq0, seq1, ...) into list(zip(seq0, seq1, ...)
3 | unless there exists a 'from future_builtins import zip' statement in the
4 | top-level namespace.
5 |
6 | We avoid the transformation if the zip() call is directly contained in
7 | iter(<>), list(<>), tuple(<>), sorted(<>), ...join(<>), or for V in <>:.
8 | """
9 |
10 | # Local imports
11 | from .. import fixer_base
12 | from ..fixer_util import Name, Call, in_special_context
13 |
14 | class FixZip(fixer_base.ConditionalFix):
15 |
16 | BM_compatible = True
17 | PATTERN = """
18 | power< 'zip' args=trailer< '(' [any] ')' >
19 | >
20 | """
21 |
22 | skip_on = "future_builtins.zip"
23 |
24 | def transform(self, node, results):
25 | if self.should_skip(node):
26 | return
27 |
28 | if in_special_context(node):
29 | return None
30 |
31 | new = node.clone()
32 | new.prefix = u""
33 | new = Call(Name(u"list"), [new])
34 | new.prefix = node.prefix
35 | return new
36 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/pep8/lib2to3/lib2to3/pgen2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | """The pgen2 package."""
5 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/_ctypes.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/_ctypes.dll
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/macholib/.cvsignore:
--------------------------------------------------------------------------------
1 | *.pyc
2 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/ctypes/macholib/__init__.py:
--------------------------------------------------------------------------------
1 | """
2 | Enough Mach-O to make your head spin.
3 |
4 | See the relevant header files in /usr/include/mach-o
5 |
6 | And also Apple's documentation.
7 | """
8 |
9 | __version__ = '1.0'
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/third_party/wrapped_for_pydev/not_in_default_pythonpath.txt:
--------------------------------------------------------------------------------
1 | The wrapped_for_pydev folder is not in the default pythonpath... (no __init__.py file)
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | # TODO: only absolute_import needed?
6 | from __future__ import print_function, with_statement, absolute_import
7 |
8 | import sys
9 |
10 | if sys.version_info >= (3,):
11 | from ptvsd.reraise3 import reraise # noqa: F401
12 | else:
13 | from ptvsd.reraise2 import reraise # noqa: F401
14 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise2.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 |
6 | def reraise(exc_info):
7 | # TODO: docstring
8 | raise exc_info[0], exc_info[1], exc_info[2] # noqa
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/reraise3.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 |
6 | def reraise(exc_info):
7 | # TODO: docstring
8 | raise exc_info[1].with_traceback(exc_info[2])
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd/ptvsd/version.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License. See LICENSE in the project root
3 | # for license information.
4 |
5 | __author__ = "Microsoft Corporation "
6 |
7 | from ._version import get_versions
8 | __version__ = get_versions()['version']
9 | del get_versions
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/experimental/ptvsd_launcher.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 |
4 | import os
5 | import os.path
6 | import sys
7 | import traceback
8 |
9 | # Load the debugger package
10 | try:
11 | ptvs_lib_path = os.path.join(os.path.dirname(__file__), 'ptvsd')
12 | sys.path.append(ptvs_lib_path)
13 | try:
14 | import ptvsd
15 | import ptvsd.debugger as vspd
16 | from ptvsd.__main__ import main
17 | ptvsd_loaded = True
18 | except ImportError:
19 | ptvsd_loaded = False
20 | raise
21 | vspd.DONT_DEBUG.append(os.path.normcase(__file__))
22 | except:
23 | traceback.print_exc()
24 | print('''
25 | Internal error detected. Please copy the above traceback and report at
26 | https://github.com/Microsoft/vscode-python/issues/new
27 |
28 | Press Enter to close. . .''')
29 | try:
30 | raw_input()
31 | except NameError:
32 | input()
33 | sys.exit(1)
34 | finally:
35 | if ptvs_lib_path:
36 | sys.path.remove(ptvs_lib_path)
37 |
38 | main(sys.argv)
39 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/interpreterInfo.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) Microsoft Corporation. All rights reserved.
2 | # Licensed under the MIT License.
3 |
4 | import json
5 | import sys
6 |
7 | obj = {}
8 | obj["versionInfo"] = sys.version_info[:4]
9 | obj["sysPrefix"] = sys.prefix
10 | obj["version"] = sys.version
11 | obj["is64Bit"] = sys.maxsize > 2**32
12 |
13 | print(json.dumps(obj))
14 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/isort/__main__.py:
--------------------------------------------------------------------------------
1 | from __future__ import absolute_import
2 |
3 | from isort.main import main
4 |
5 | main()
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/isort/pylama_isort.py:
--------------------------------------------------------------------------------
1 | import os
2 | import sys
3 |
4 | from pylama.lint import Linter as BaseLinter
5 |
6 | from .isort import SortImports
7 |
8 |
9 | class Linter(BaseLinter):
10 |
11 | def allow(self, path):
12 | """Determine if this path should be linted."""
13 | return path.endswith('.py')
14 |
15 | def run(self, path, **meta):
16 | """Lint the file. Return an array of error dicts if appropriate."""
17 | with open(os.devnull, 'w') as devnull:
18 | # Suppress isort messages
19 | sys.stdout = devnull
20 |
21 | if SortImports(path, check=True).incorrectly_sorted:
22 | return [{
23 | 'lnum': 0,
24 | 'col': 0,
25 | 'text': 'Incorrectly sorted imports.',
26 | 'type': 'ISORT'
27 | }]
28 | else:
29 | return []
30 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/api/exceptions.py:
--------------------------------------------------------------------------------
1 | class _JediError(Exception):
2 | pass
3 |
4 |
5 | class InternalError(_JediError):
6 | pass
7 |
8 |
9 | class WrongVersion(_JediError):
10 | pass
11 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/api/replstartup.py:
--------------------------------------------------------------------------------
1 | """
2 | To use Jedi completion in Python interpreter, add the following in your shell
3 | setup (e.g., ``.bashrc``)::
4 |
5 | export PYTHONSTARTUP="$(python -m jedi repl)"
6 |
7 | Then you will be able to use Jedi completer in your Python interpreter::
8 |
9 | $ python
10 | Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
11 | [GCC 4.6.1] on linux2
12 | Type "help", "copyright", "credits" or "license" for more information.
13 | >>> import os
14 | >>> os.path.join('a', 'b').split().in # doctest: +SKIP
15 | ..dex ..sert
16 |
17 | """
18 | import jedi.utils
19 | from jedi import __version__ as __jedi_version__
20 |
21 | print('REPL completion using Jedi %s' % __jedi_version__)
22 | jedi.utils.setup_readline()
23 |
24 | del jedi
25 |
26 | # Note: try not to do many things here, as it will contaminate global
27 | # namespace of the interpreter.
28 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/common/__init__.py:
--------------------------------------------------------------------------------
1 | from jedi.common.context import BaseContextSet, BaseContext
2 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/common/utils.py:
--------------------------------------------------------------------------------
1 | import os
2 |
3 |
4 | def traverse_parents(path, include_current=False):
5 | if not include_current:
6 | path = os.path.dirname(path)
7 |
8 | previous = None
9 | while previous != path:
10 | yield path
11 | previous = path
12 | path = os.path.dirname(path)
13 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_functools.pym:
--------------------------------------------------------------------------------
1 | class partial():
2 | def __init__(self, func, *args, **keywords):
3 | self.__func = func
4 | self.__args = args
5 | self.__keywords = keywords
6 |
7 | def __call__(self, *args, **kwargs):
8 | # TODO should be **dict(self.__keywords, **kwargs)
9 | return self.__func(*(self.__args + args), **self.__keywords)
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_sqlite3.pym:
--------------------------------------------------------------------------------
1 | def connect(database, timeout=None, isolation_level=None, detect_types=None, factory=None):
2 | return Connection()
3 |
4 |
5 | class Connection():
6 | def cursor(self):
7 | return Cursor()
8 |
9 |
10 | class Cursor():
11 | def cursor(self):
12 | return Cursor()
13 |
14 | def fetchone(self):
15 | return Row()
16 |
17 | def fetchmany(self, size=cursor.arraysize):
18 | return [self.fetchone()]
19 |
20 | def fetchall(self):
21 | return [self.fetchone()]
22 |
23 |
24 | class Row():
25 | def keys(self):
26 | return ['']
27 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/_weakref.pym:
--------------------------------------------------------------------------------
1 | def proxy(object, callback=None):
2 | return object
3 |
4 | class ref():
5 | def __init__(self, object, callback=None):
6 | self.__object = object
7 |
8 | def __call__(self):
9 | return self.__object
10 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/datetime.pym:
--------------------------------------------------------------------------------
1 | class datetime():
2 | @staticmethod
3 | def now():
4 | return datetime()
5 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/io.pym:
--------------------------------------------------------------------------------
1 | class TextIOWrapper():
2 | def __next__(self):
3 | return str()
4 |
5 | def __iter__(self):
6 | yield str()
7 |
8 | def readlines(self):
9 | return ['']
10 |
11 | def __enter__(self):
12 | return self
13 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/compiled/fake/posix.pym:
--------------------------------------------------------------------------------
1 | def getcwd():
2 | return ''
3 |
4 | def getcwdu():
5 | return ''
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/context/__init__.py:
--------------------------------------------------------------------------------
1 | from jedi.evaluate.context.module import ModuleContext
2 | from jedi.evaluate.context.klass import ClassContext
3 | from jedi.evaluate.context.function import FunctionContext, FunctionExecutionContext
4 | from jedi.evaluate.context.instance import AnonymousInstance, BoundMethod, \
5 | CompiledInstance, AbstractInstanceContext, TreeInstance
6 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/jedi/evaluate/parser_cache.py:
--------------------------------------------------------------------------------
1 | from jedi.evaluate.cache import evaluator_function_cache
2 |
3 |
4 | @evaluator_function_cache()
5 | def get_yield_exprs(evaluator, funcdef):
6 | return list(funcdef.iter_yield_exprs())
7 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/pgen2/__init__.py:
--------------------------------------------------------------------------------
1 | # Copyright 2004-2005 Elemental Security, Inc. All Rights Reserved.
2 | # Licensed to PSF under a Contributor Agreement.
3 |
4 | # Modifications:
5 | # Copyright 2006 Google, Inc. All Rights Reserved.
6 | # Licensed to PSF under a Contributor Agreement.
7 | # Copyright 2014 David Halter. Integration into Jedi.
8 | # Modifications are dual-licensed: MIT and PSF.
9 |
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/python/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/parso/python/__init__.py
--------------------------------------------------------------------------------
/lib/debugger/VendorLib/vs-py-debugger/pythonFiles/sortImports.py:
--------------------------------------------------------------------------------
1 | import isort.main
2 | isort.main.main()
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - "."
3 |
--------------------------------------------------------------------------------
/spec/fixtures/debugger/python.py:
--------------------------------------------------------------------------------
1 |
2 |
3 | a = 1
4 |
5 |
6 | b = 2
7 |
8 |
9 | def myfun():
10 | x = 1
11 | x
12 |
13 |
14 | print(myfun())
15 |
--------------------------------------------------------------------------------
/spec/fixtures/venv/none/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/spec/fixtures/venv/none/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/venv/unix-subdir/venv/bin/python:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/spec/fixtures/venv/unix-subdir/venv/bin/python
--------------------------------------------------------------------------------
/spec/fixtures/venv/unix/bin/python:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/spec/fixtures/venv/unix/bin/python
--------------------------------------------------------------------------------
/spec/fixtures/venv/windows-subdir/venv/Scripts/python:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/spec/fixtures/venv/windows-subdir/venv/Scripts/python
--------------------------------------------------------------------------------
/spec/fixtures/venv/windows/Scripts/python.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/atom-community/ide-python/5c26700cffbabe5fb609dcbc97e4f1a6a0cecbb7/spec/fixtures/venv/windows/Scripts/python.exe
--------------------------------------------------------------------------------