René's URL Explorer Experiment


Title: Undefined variable: 'str' as part of correct type annotation · Issue #1732 · microsoft/python-language-server · GitHub

Open Graph Title: Undefined variable: 'str' as part of correct type annotation · Issue #1732 · microsoft/python-language-server

X Title: Undefined variable: 'str' as part of correct type annotation · Issue #1732 · microsoft/python-language-server

Description: Environment data Language Server version: Microsoft Python Language Server version 0.4.81.0 OS and version: macOS 10.15 (19A602) Python version (& distribution if applicable, e.g. Anaconda): '3.7.4 (default, Sep 7 2019, 18:27:02) \n[Clan...

Open Graph Description: Environment data Language Server version: Microsoft Python Language Server version 0.4.81.0 OS and version: macOS 10.15 (19A602) Python version (& distribution if applicable, e.g. Anaconda): '3.7.4...

X Description: Environment data Language Server version: Microsoft Python Language Server version 0.4.81.0 OS and version: macOS 10.15 (19A602) Python version (& distribution if applicable, e.g. Anaconda): &#...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1732

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Undefined variable: 'str' as part of correct type annotation","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\u003c!--\r\nTo find your version: \r\n\r\nSelect \"View: Toggle Output\" from the command palette (Ctrl+Shift+P on Windows/Linux, Command+Shift+P on macOS), then select \"Python\" in the dropdown on the right (\"Python Language Server\" if running Insiders build of VS Code). Look for the line Microsoft Python Language Server version X in the console.\r\n-->\r\n\r\n- Language Server version: Microsoft Python Language Server version 0.4.81.0   \r\n- OS and version: macOS 10.15 (19A602)\r\n- Python version (& distribution if applicable, e.g. Anaconda): '3.7.4 (default, Sep  7 2019, 18:27:02) \\n[Clang 10.0.1 (clang-1001.0.46.4)]'\r\n\r\n\r\n## Expected behaviour\r\n\r\nNo error message\r\n\r\n## Actual behaviour\r\n\r\n`Undefined variable: 'str'` as part of correct type annotation\r\n\r\n![image](https://user-images.githubusercontent.com/5635139/67986248-fad56780-fc00-11e9-8aec-4484b1769959.png)\r\n\r\n(other errors are unrelated)\r\n\r\nPotentially related: https://github.com/microsoft/python-language-server/issues/1453\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\nhttps://gist.github.com/max-sixty/630b88f44038174dc46229edc51734b9\r\n\r\nReproducible from [`dataarray.py` on xarray master](https://github.com/pydata/xarray/blob/master/xarray/core/dataarray.py), if anyone wants a full repro\r\n\r\nThank you!\r\n","author":{"url":"https://github.com/max-sixty","@type":"Person","name":"max-sixty"},"datePublished":"2019-10-31T21:11:56Z","url":"https://github.com/microsoft/python-language-server/issues/1732"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7f35b459-d00a-d9ac-d247-b546f6dd9321
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC44A:19DC88:5CEC69:7EA494:6AFE6182
html-safe-nonceb4a67e57b7b70ec47c1f8bfbcda5765c61d4e880cc69a1c4040ee74f977f0c7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDRBOjE5REM4ODo1Q0VDNjk6N0VBNDk0OjZBRkU2MTgyIiwidmlzaXRvcl9pZCI6IjI2MDU1NDAzMzEzNjU0OTEwNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0d397aad09d3a84eea88936950fad07e16164ebf8b2aca44b7204baa9890cb41
hovercard-subject-tagissue:515749418
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1732/issue_layout
twitter:imagehttps://opengraph.githubassets.com/64946637888b67962260ed8b50851501222634fe282c4195f995d9903fb49903/microsoft/python-language-server/issues/1732
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/64946637888b67962260ed8b50851501222634fe282c4195f995d9903fb49903/microsoft/python-language-server/issues/1732
og:image:altEnvironment data Language Server version: Microsoft Python Language Server version 0.4.81.0 OS and version: macOS 10.15 (19A602) Python version (& distribution if applicable, e.g. Anaconda): '3.7.4...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemax-sixty
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1732#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1732
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1732
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1732
Reloadhttps://github.com/microsoft/python-language-server/issues/1732
Reloadhttps://github.com/microsoft/python-language-server/issues/1732
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
Undefined variable: 'str' as part of correct type annotationhttps://github.com/microsoft/python-language-server/issues/1732#top
https://github.com/max-sixty
Maximilian Roos (max-sixty)https://github.com/max-sixty
on Oct 31, 2019https://github.com/microsoft/python-language-server/issues/1732#issue-515749418
https://user-images.githubusercontent.com/5635139/67986248-fad56780-fc00-11e9-8aec-4484b1769959.png
#1453https://github.com/microsoft/python-language-server/issues/1453
https://gist.github.com/max-sixty/630b88f44038174dc46229edc51734b9https://gist.github.com/max-sixty/630b88f44038174dc46229edc51734b9
dataarray.py on xarray masterhttps://github.com/pydata/xarray/blob/master/xarray/core/dataarray.py
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Oct 31, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-548571559
#1697https://github.com/microsoft/python-language-server/issues/1697
https://github.com/max-sixty
Maximilian Roos (max-sixty)https://github.com/max-sixty
on Oct 31, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-548572692
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Nov 5, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-549946096
https://user-images.githubusercontent.com/5341706/68233398-f8ce2880-ffb3-11e9-86c4-a98f027010d6.png
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Nov 5, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-549947874
https://user-images.githubusercontent.com/5341706/68233681-86aa1380-ffb4-11e9-884a-4fc481c9b97d.png
https://github.com/max-sixty
Maximilian Roos (max-sixty)https://github.com/max-sixty
on Nov 5, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-549953269
Jake Bailey (@jakebailey)https://github.com/jakebailey
https://github.com/pydata/xarray/blob/b649846b9ceef0db8631e7148f5ee9415bdd4621/xarray/core/dataarray.py#L3117https://github.com/pydata/xarray/blob/b649846b9ceef0db8631e7148f5ee9415bdd4621/xarray/core/dataarray.py#L3117
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Nov 5, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-549953994
https://github.com/TiemenSch
Tiemen Schuijbroek (TiemenSch)https://github.com/TiemenSch
on Nov 6, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-550169883
microsoft/PTVS#4835https://github.com/microsoft/PTVS/issues/4835
https://marketplace.visualstudio.com/items?itemName=ms-python.pythonhttps://marketplace.visualstudio.com/items?itemName=ms-python.python
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Nov 6, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-550421500
https://github.com/microsoft/python-language-server/wiki/Versioning-and-download-channelshttps://github.com/microsoft/python-language-server/wiki/Versioning-and-download-channels
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1732#issuecomment-566168164
#1798https://github.com/microsoft/python-language-server/pull/1798
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1732#event-2886888394
https://github.com/max-sixty
Maximilian Roos (max-sixty)https://github.com/max-sixty
on Jul 1, 2020https://github.com/microsoft/python-language-server/issues/1732#issuecomment-652605815
https://github.com/pydata/xarray/blob/v0.15.1/xarray/core/dataarray.py#L242https://github.com/pydata/xarray/blob/v0.15.1/xarray/core/dataarray.py#L242
https://github.com/pydata/xarray/blob/v0.15.1/xarray/core/dataarray.py#L3435https://github.com/pydata/xarray/blob/v0.15.1/xarray/core/dataarray.py#L3435
https://github.com/erictraut
Eric Traut (erictraut)https://github.com/erictraut
on Jul 1, 2020https://github.com/microsoft/python-language-server/issues/1732#issuecomment-652620364
Postponed Evaluation of Type Annotationshttps://www.python.org/dev/peps/pep-0563/
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Jul 1, 2020https://github.com/microsoft/python-language-server/issues/1732#issuecomment-652621989
microsoft/pylance-release#19https://github.com/microsoft/pylance-release/issues/19
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1732
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1732
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.