Title: print, others flagged as "Undefined variable" (requests being handled before initialization is complete?) · Issue #1697 · microsoft/python-language-server · GitHub
Open Graph Title: print, others flagged as "Undefined variable" (requests being handled before initialization is complete?) · Issue #1697 · microsoft/python-language-server
X Title: print, others flagged as "Undefined variable" (requests being handled before initialization is complete?) · Issue #1697 · microsoft/python-language-server
Description: Environment data Language Server version: 0.4.71.0 OS and version: Microsoft Windows [Version 10.0.18362.418] Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1...
Open Graph Description: Environment data Language Server version: 0.4.71.0 OS and version: Microsoft Windows [Version 10.0.18362.418] Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.1 (v3.5.1:37a0...
X Description: Environment data Language Server version: 0.4.71.0 OS and version: Microsoft Windows [Version 10.0.18362.418] Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.1 (v3.5.1:...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/1697
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"print, others flagged as \"Undefined variable\" (requests being handled before initialization is complete?)","articleBody":"\u003c!-- \r\nRead the guidelines for filing an issue first. \r\n\r\nhttps://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue\r\n-->\r\n\r\n## Environment data\r\n\r\n- Language Server version: 0.4.71.0 \r\n- OS and version: Microsoft Windows [Version 10.0.18362.418]\r\n- Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32\r\n\r\n## Expected behaviour\r\n\r\nprint should NOT be flagged as \"Undefined variable\"\r\n\r\n## Actual behaviour\r\nprint is flagged as \"Undefined variable\"\r\n\r\n\r\n## Logs\r\n\r\n\u003c!-- \r\nEnable trace logging by adding \"python.analysis.logLevel\": \"Trace\" to your settings.json configuration file.\r\n\r\nAdding this will cause a large amount of info to be printed to the Python output panel. This should not be left long term, as the performance impact of the logging is significant.\r\n-->\r\n\r\n```\r\nN/A\r\n```\r\n\r\n## Code Snippet / Additional lnformation\r\n\r\n\u003c!--\r\nNote: If you think a GIF of what is happening would be helpful, consider tools like https://www.cockos.com/licecap/, https://github.com/phw/peek or https://www.screentogif.com/ .\r\n-->\r\n\r\n\r\n```python\r\nPython 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/JoeCodeswell","@type":"Person","name":"JoeCodeswell"},"datePublished":"2019-10-16T16:14:29Z","url":"https://github.com/microsoft/python-language-server/issues/1697"}
| 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:d8537690-5c19-9192-cf06-10a5e06af606 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B118:84C13:2B61B8:39008A:6AFE5BFE |
| html-safe-nonce | 82209f14c8fe23b609749bf45f861618455de4fe53bde88fbcdcf55102c5a4ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTE4Ojg0QzEzOjJCNjFCODozOTAwOEE6NkFGRTVCRkUiLCJ2aXNpdG9yX2lkIjoiMzg5NjYyNDg1OTc3NjUyMjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c45d9bae63afe0347a664ded459f1f120a7d193c8988f4d7668a97d54beadf75 |
| hovercard-subject-tag | issue:507953871 |
| 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/1697/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29d3186a334520762985cd2eca84064074f64d70150be4ca3a83377a134c562a/microsoft/python-language-server/issues/1697 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29d3186a334520762985cd2eca84064074f64d70150be4ca3a83377a134c562a/microsoft/python-language-server/issues/1697 |
| og:image:alt | Environment data Language Server version: 0.4.71.0 OS and version: Microsoft Windows [Version 10.0.18362.418] Python version (& distribution if applicable, e.g. Anaconda): Python 3.5.1 (v3.5.1:37a0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JoeCodeswell |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width