René's URL Explorer Experiment


Title: Exception while typechecking python3.4 program using asyncio.Queue.get · Issue #868 · python/mypy · GitHub

Open Graph Title: Exception while typechecking python3.4 program using asyncio.Queue.get · Issue #868 · python/mypy

X Title: Exception while typechecking python3.4 program using asyncio.Queue.get · Issue #868 · python/mypy

Description: Using the latest master from today mypy 0.2.0-dev. Traceback (most recent call last): File "/usr/local/bin/mypy", line 184, in main() File "/usr/local/bin/mypy", line 36, in main type_check_only(path, module, bin_dir, options) F...

Open Graph Description: Using the latest master from today mypy 0.2.0-dev. Traceback (most recent call last): File "/usr/local/bin/mypy", line 184, in main() File "/usr/local/bin/mypy", line 36, in main type_chec...

X Description: Using the latest master from today mypy 0.2.0-dev. Traceback (most recent call last): File "/usr/local/bin/mypy", line 184, in <module> main() File "/usr/local/bin/mypy", ...

Opengraph URL: https://github.com/python/mypy/issues/868

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exception while typechecking python3.4 program using asyncio.Queue.get","articleBody":"Using the latest master from today `mypy 0.2.0-dev`.\n\n``` Python\nTraceback (most recent call last):\n  File \"/usr/local/bin/mypy\", line 184, in \u003cmodule>\n    main()\n  File \"/usr/local/bin/mypy\", line 36, in main\n    type_check_only(path, module, bin_dir, options)\n  File \"/usr/local/bin/mypy\", line 80, in type_check_only\n    python_path=options.python_path)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/build.py\", line 160, in build\n    result = manager.process(UnprocessedFile(info, program_text))\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/build.py\", line 337, in process\n    next.process()\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/build.py\", line 786, in process\n    self.type_checker().visit_file(self.tree, self.tree.path)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 353, in visit_file\n    self.accept(d)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 360, in accept\n    typ = node.accept(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/nodes.py\", line 380, in accept\n    return visitor.visit_decorator(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 1646, in visit_decorator\n    e.func.accept(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/nodes.py\", line 349, in accept\n    return visitor.visit_func_def(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 417, in visit_func_def\n    self.check_func_item(defn, name=defn.name())\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 450, in check_func_item\n    self.check_func_def(defn, typ, name)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 517, in check_func_def\n    self.accept_in_frame(item.body)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 373, in accept_in_frame\n    answer = self.accept(node, type_context)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 360, in accept\n    typ = node.accept(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/nodes.py\", line 493, in accept\n    return visitor.visit_block(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 907, in visit_block\n    self.accept(s)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 360, in accept\n    typ = node.accept(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/nodes.py\", line 532, in accept\n    return visitor.visit_assignment_stmt(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 916, in visit_assignment_stmt\n    self.check_assignment(s.lvalues[-1], s.rvalue, s.type is None)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 944, in check_assignment\n    self.infer_variable_type(inferred, lvalue, self.accept(rvalue),\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 360, in accept\n    typ = node.accept(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/nodes.py\", line 944, in accept\n    return visitor.visit_yield_from_expr(self)\n  File \"/usr/local/lib/python3.4/dist-packages/mypy/checker.py\", line 1693, in visit_yield_from_expr\n    if result_instance.type.fullname() == \"asyncio.futures.Future\":\nAttributeError: 'AnyType' object has no attribute 'type'\n```\n\nHere is a minimal program to reproduce:\n\n``` Python\nimport asyncio\n\n@asyncio.coroutine\ndef example_coro():\n    q = asyncio.Queue()\n    msg = yield from q.get()\n\nif __name__ == '__main__':\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(example_coro())\n```\n","author":{"url":"https://github.com/thomascellerier","@type":"Person","name":"thomascellerier"},"datePublished":"2015-09-03T07:39:42Z","url":"https://github.com/python/mypy/issues/868"}

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:91056dbc-c73a-2154-f53e-d29b580a060b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC964:31B4CC:47B6D9:60496E:6B00C9FE
html-safe-nonce1d292cb15720bf35ee8b472260dcafc21cae60b09666f1c20144aae845934260
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTY0OjMxQjRDQzo0N0I2RDk6NjA0OTZFOjZCMDBDOUZFIiwidmlzaXRvcl9pZCI6IjE1NzEyMjE5OTkyOTA3MzEwMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac703fa5621afff69e6b90b41f1597515eb0e17d9679c547fcb1a7239165edcbc4
hovercard-subject-tagissue:104639005
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/python/mypy/868/issue_layout
twitter:imagehttps://opengraph.githubassets.com/04e3bc9ed08f4db9763eb5ac78817c149e0cc505a3ecaad2b826f3e21313d9bb/python/mypy/issues/868
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04e3bc9ed08f4db9763eb5ac78817c149e0cc505a3ecaad2b826f3e21313d9bb/python/mypy/issues/868
og:image:altUsing the latest master from today mypy 0.2.0-dev. Traceback (most recent call last): File "/usr/local/bin/mypy", line 184, in main() File "/usr/local/bin/mypy", line 36, in main type_chec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamethomascellerier
hostnamegithub.com
expected-hostnamegithub.com
None98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
releaseef013399cf0a3c324bea644a685d7c1e0f06b5b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/868#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F868
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%2Fpython%2Fmypy%2Fissues%2F868
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=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/868
Reloadhttps://github.com/python/mypy/issues/868
Reloadhttps://github.com/python/mypy/issues/868
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests543 (543)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/868
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/868
Exception while typechecking python3.4 program using asyncio.Queue.gethttps://github.com/python/mypy/issues/868#top
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/thomascellerier
thomascellerierhttps://github.com/thomascellerier
on Sep 3, 2015https://github.com/python/mypy/issues/868#issue-104639005
thomascellerierhttps://github.com/thomascellerier
on Sep 3, 2015https://github.com/python/mypy/issues/868#event-399777660
rockneurotikohttps://github.com/rockneurotiko
on Sep 10, 2015https://github.com/python/mypy/issues/868#event-405866191
Fix when yield from was made of an AnyType (python#868, the generic e…https://github.com/rockneurotiko/mypy/commit/45ff97ad6fe15a9c8043b479c7e7e277905067a8
python#868https://github.com/python/mypy/issues/868
45ff97ahttps://github.com/rockneurotiko/mypy/commit/45ff97ad6fe15a9c8043b479c7e7e277905067a8
JukkaLhttps://github.com/JukkaL
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Oct 1, 2015https://github.com/python/mypy/issues/868#event-424147604
gvanrossumhttps://github.com/gvanrossum
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 28, 2016https://github.com/python/mypy/issues/868#event-645033432
msullivanhttps://github.com/msullivan
on Jun 8, 2021https://github.com/python/mypy/issues/868#event-4860645234
[mypyc] Produce unimplemented errors on unsupported async featureshttps://github.com/python/mypy/commit/c901f3126f8ed6446f0685f5b0864aff7b28cf51
c901f31https://github.com/python/mypy/commit/c901f3126f8ed6446f0685f5b0864aff7b28cf51
msullivanhttps://github.com/msullivan
on Aug 17, 2022https://github.com/python/mypy/issues/868#event-7209496215
[mypyc] Implement `async with`https://github.com/python/mypy/commit/aff843eb91697231106d2e5f815000c50598a9ab
aff843ehttps://github.com/python/mypy/commit/aff843eb91697231106d2e5f815000c50598a9ab
[mypyc] Implement `async with` (#13442)https://github.com/python/mypy/commit/3ec1849528bd9ae8fb744620cfa24705ee7d39b0
#13442https://github.com/python/mypy/pull/13442
3ec1849https://github.com/python/mypy/commit/3ec1849528bd9ae8fb744620cfa24705ee7d39b0
[mypyc] Implement `async for` as a statement and in comprehensionshttps://github.com/python/mypy/commit/976774e13e0e17d1c91dcea55a04eef6ec4fc756
976774ehttps://github.com/python/mypy/commit/976774e13e0e17d1c91dcea55a04eef6ec4fc756
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/868
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/868
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
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.