Title: Unresolved import for builtin packages after reload · Issue #1156 · microsoft/python-language-server · GitHub
Open Graph Title: Unresolved import for builtin packages after reload · Issue #1156 · microsoft/python-language-server
X Title: Unresolved import for builtin packages after reload · Issue #1156 · microsoft/python-language-server
Description: Marc Schlaich (@schlamar) commented on Mon Jun 03 2019 Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python version (& distribution if applicable, e....
Open Graph Description: Marc Schlaich (@schlamar) commented on Mon Jun 03 2019 Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python v...
X Description: Marc Schlaich (@schlamar) commented on Mon Jun 03 2019 Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python v...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1156
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unresolved import for builtin packages after reload","articleBody":"@schlamar commented on [Mon Jun 03 2019](https://github.com/microsoft/vscode-python/issues/5881)\n\n## Environment data\r\n\r\n- VS Code version: 1.34.0\r\n- Extension version (available under the Extensions sidebar): 2019.5\r\n- OS and version: Windows 7\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: N/A\r\n\r\n## Expected behaviour\r\n\r\nNo errors for builtin packages.\r\n\r\n## Actual behaviour\r\n\r\nImport of builtin packages like `time`, `itertools` and `operator` are sometimes marked as unresolved import.\r\n\r\n## Steps to reproduce:\r\n\r\nDon't know, this happens randomly.\r\n\r\n## Logs\r\n\r\n```\r\nStarting Microsoft Python language server.\r\n##########Linting Output - flake8##########\r\n[Info - 12:19:26] GetCurrentSearchPaths C:\\Python27\\python.exe \r\n[Info - 12:19:26] Python search paths:\r\n[Info - 12:19:26] c:\\python27\\dlls\r\n[Info - 12:19:26] c:\\python27\\lib\r\n[Info - 12:19:26] c:\\python27\\lib\\lib-tk\r\n[Info - 12:19:26] c:\\python27\r\n[Info - 12:19:26] c:\\python27\\lib\\site-packages\r\n[Info - 12:19:26] Configuration search paths:\r\n[Info - 12:19:26] ...\r\n[Info - 12:19:33] Microsoft Python Language Server version 0.2.87.0\r\n[Info - 12:19:33] Initializing for C:\\Python27\\python.exe\r\n``` \r\n\r\n(Right now, I don't have a Console Log in case of this error. I will submit them as soon as this happens again.) \r\n\n\n","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2019-06-03T17:34:39Z","url":"https://github.com/microsoft/python-language-server/issues/1156"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:17ea2b3e-7527-ddcb-b924-ac7912a68db8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA20:22E9EB:7831FC:A2C59C:6AFE5753 |
| html-safe-nonce | 86efc181acdd5139de132e22cba4cf2b06f4fd84719872cee71c48fff0f4513e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTIwOjIyRTlFQjo3ODMxRkM6QTJDNTlDOjZBRkU1NzUzIiwidmlzaXRvcl9pZCI6IjE5ODUwNDM2ODczOTgwNzAwOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ea63ecc61efe3a365a850399d46d14719452aef2fa3688e1265d008192b9107 |
| hovercard-subject-tag | issue:451603789 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71126c231532f31b039bdd4ef7fa92fbeb7858664e5b375d7cbfa69c65db94f2/microsoft/python-language-server/issues/1156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71126c231532f31b039bdd4ef7fa92fbeb7858664e5b375d7cbfa69c65db94f2/microsoft/python-language-server/issues/1156 |
| og:image:alt | Marc Schlaich (@schlamar) commented on Mon Jun 03 2019 Environment data VS Code version: 1.34.0 Extension version (available under the Extensions sidebar): 2019.5 OS and version: Windows 7 Python v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8df44dbe1c8091b38c3e0165c05a1e5c1563762e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width