René's URL Explorer Experiment


Title: Generator fixup by ddfisher · Pull Request #1137 · python/mypy · GitHub

Open Graph Title: Generator fixup by ddfisher · Pull Request #1137 · python/mypy

X Title: Generator fixup by ddfisher · Pull Request #1137 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: This commit fixes up the handling of Generators in several ways: it removes YieldStmt and YieldFromStmt, because they unnecessarily duplicate ExpressionStmt of YieldExpr/YieldFromExpr it ensures f...

X Description: This commit fixes up the handling of Generators in several ways: it removes YieldStmt and YieldFromStmt, because they unnecessarily duplicate ExpressionStmt of YieldExpr/YieldFromExpr it ensures f...

Opengraph URL: https://github.com/python/mypy/pull/1137

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e931323d-9bb8-c792-766d-f316ad10e297
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA7E:3BC53:4AD36A:64923F:6B008F81
html-safe-nonce936c100fdacdd7dd96b8c333cbe82bc1f5e1b46aac856398d9a1f41067832acc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdFOjNCQzUzOjRBRDM2QTo2NDkyM0Y6NkIwMDhGODEiLCJ2aXNpdG9yX2lkIjoiMTg5NjMxNTk0MjMwNTA0MjMwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdca8bab7c90f3ae871ea4f866feabdc51b769cfed56ea7f7794678784ab670a6
hovercard-subject-tagpull_request:56291463
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/mypy/1137/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/52ef76b7b54363b1f7d6c83b63519f04e59b69299c155d5c5bf3e0f1482b0e46/python/mypy/pull/1137
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/52ef76b7b54363b1f7d6c83b63519f04e59b69299c155d5c5bf3e0f1482b0e46/python/mypy/pull/1137
og:image:altThis commit fixes up the handling of Generators in several ways: it removes YieldStmt and YieldFromStmt, because they unnecessarily duplicate ExpressionStmt of YieldExpr/YieldFromExpr it ensures f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameddfisher
hostnamegithub.com
expected-hostnamegithub.com
Nonec710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08
turbo-cache-controlno-cache
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
releasebe616a2a6ec1c609d6e002896dff5352d5c5f28b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/1137#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1137
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%2Fpull%2F1137
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/1137
Reloadhttps://github.com/python/mypy/pull/1137
Reloadhttps://github.com/python/mypy/pull/1137
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
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
ddfisher:masterhttps://github.com/ddfisher/mypy/tree/master
Conversationhttps://github.com/python/mypy/pull/1137
Commits8 (8)https://github.com/python/mypy/pull/1137/commits
Checkshttps://github.com/python/mypy/pull/1137/checks
Files changedhttps://github.com/python/mypy/pull/1137/files
Generator fixuphttps://github.com/python/mypy/pull/1137#top
gvanrossumhttps://github.com/gvanrossum
python:masterhttps://github.com/python/mypy/tree/master
ddfisher:masterhttps://github.com/ddfisher/mypy/tree/master
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Jan 17, 2016https://github.com/python/mypy/pull/1137#issue-127133119
#20https://github.com/python/mypy/issues/20
#836https://github.com/python/mypy/issues/836
#695https://github.com/python/mypy/issues/695
#633https://github.com/python/mypy/issues/633
#498https://github.com/python/mypy/issues/498
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/ddfisher
Generator fixuphttps://github.com/python/mypy/pull/1137/commits/074dadac7ee7c32243e414391f33208e3932d6de
074dadahttps://github.com/python/mypy/pull/1137/commits/074dadac7ee7c32243e414391f33208e3932d6de
ddfisherhttps://github.com/ddfisher
Jan 17, 2016 https://github.com/python/mypy/pull/1137#discussion-diff-49954821
View reviewed changes https://github.com/python/mypy/pull/1137/files/074dadac7ee7c32243e414391f33208e3932d6de#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
mypy/checker.pyhttps://github.com/python/mypy/pull/1137/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
ddfisherhttps://github.com/ddfisher
Jan 17, 2016https://github.com/python/mypy/pull/1137#discussion_r49954821
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1137
ddfisherhttps://github.com/ddfisher
January 17, 2016 16:44https://github.com/python/mypy/pull/1137#commits-pushed-04cd7fa
https://github.com/ddfisher
Fix type errors and (hopefully) lint errorshttps://github.com/python/mypy/pull/1137/commits/04cd7fae187ff142ee3143af211a7b59ebfba070
04cd7fahttps://github.com/python/mypy/pull/1137/commits/04cd7fae187ff142ee3143af211a7b59ebfba070
https://github.com/ddfisher
actually fix lint errorshttps://github.com/python/mypy/pull/1137/commits/8a7024d0685d19f7fcc602aefd3462e6a22d2ffb
8a7024dhttps://github.com/python/mypy/pull/1137/commits/8a7024d0685d19f7fcc602aefd3462e6a22d2ffb
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jan 18, 2016https://github.com/python/mypy/pull/1137#issuecomment-172437875
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
Jan 18, 2016https://github.com/python/mypy/pull/1137#issuecomment-172456562
#1139https://github.com/python/mypy/issues/1139
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Jan 18, 2016https://github.com/python/mypy/pull/1137#issuecomment-172484133
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jan 19, 2016https://github.com/python/mypy/pull/1137#issuecomment-172981790
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jan 19, 2016 https://github.com/python/mypy/pull/1137#ref-issue-127535280
Reason through Future, Generator, Coroutine, Awaitable #1140 https://github.com/python/mypy/issues/1140
ddfisherhttps://github.com/ddfisher
January 19, 2016 17:26https://github.com/python/mypy/pull/1137#commits-pushed-68aba19
https://github.com/ddfisher
Fix yield from expression type and asynciohttps://github.com/python/mypy/pull/1137/commits/68aba199c16634d0c4dc69984178a93231595fa8
68aba19https://github.com/python/mypy/pull/1137/commits/68aba199c16634d0c4dc69984178a93231595fa8
https://github.com/ddfisher
Merge upstreamhttps://github.com/python/mypy/pull/1137/commits/9dc2969ad21021754c5c12c4454089c5f4b7cb24
9dc2969https://github.com/python/mypy/pull/1137/commits/9dc2969ad21021754c5c12c4454089c5f4b7cb24
https://github.com/ddfisher
Minor comment clarificationshttps://github.com/python/mypy/pull/1137/commits/cab403c1371c77513581fc69676620f0e9684822
cab403chttps://github.com/python/mypy/pull/1137/commits/cab403c1371c77513581fc69676620f0e9684822
gvanrossumhttps://github.com/gvanrossum
Jan 20, 2016 https://github.com/python/mypy/pull/1137#discussion-diff-50208924
View reviewed changes https://github.com/python/mypy/pull/1137/files/9dc2969ad21021754c5c12c4454089c5f4b7cb24#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
mypy/checker.pyhttps://github.com/python/mypy/pull/1137/files#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
gvanrossumhttps://github.com/gvanrossum
Jan 20, 2016https://github.com/python/mypy/pull/1137#discussion_r50208924
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1137
ddfisherhttps://github.com/ddfisher
Jan 20, 2016https://github.com/python/mypy/pull/1137#discussion_r50211990
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/1137
ddfisherhttps://github.com/ddfisher
January 19, 2016 19:53https://github.com/python/mypy/pull/1137#commits-pushed-4356244
https://github.com/ddfisher
Remove is_coroutine as it is misleading and no longer neededhttps://github.com/python/mypy/pull/1137/commits/4356244090530566118b432255f61aba32a8f26c
4356244https://github.com/python/mypy/pull/1137/commits/4356244090530566118b432255f61aba32a8f26c
https://github.com/ddfisher
Minor tweaks: change if statment order; add tests; fix comment stylehttps://github.com/python/mypy/pull/1137/commits/b4bf34e0cecf8dac24ff7a9276a6f2d21e525bac
b4bf34ehttps://github.com/python/mypy/pull/1137/commits/b4bf34e0cecf8dac24ff7a9276a6f2d21e525bac
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
force-pushedhttps://github.com/python/mypy/compare/01e24c25486bf966ae50aaee93fdb364cd494558..b4bf34e0cecf8dac24ff7a9276a6f2d21e525bac
01e24c2https://github.com/python/mypy/commit/01e24c25486bf966ae50aaee93fdb364cd494558
b4bf34ehttps://github.com/python/mypy/commit/b4bf34e0cecf8dac24ff7a9276a6f2d21e525bac
Compare https://github.com/python/mypy/compare/01e24c25486bf966ae50aaee93fdb364cd494558..b4bf34e0cecf8dac24ff7a9276a6f2d21e525bac
January 20, 2016 05:18https://github.com/python/mypy/pull/1137#event-519973155
gvanrossumhttps://github.com/gvanrossum
Jan 20, 2016 https://github.com/python/mypy/pull/1137#ref-commit-d8f7227
https://github.com/gvanrossum
Merge pull requesthttps://github.com/python/mypy/commit/d8f72279344f032e993a3518c667bba813ae041a
#1137https://github.com/python/mypy/pull/1137
from ddfisher/masterhttps://github.com/python/mypy/commit/d8f72279344f032e993a3518c667bba813ae041a
d8f7227https://github.com/python/mypy/commit/d8f72279344f032e993a3518c667bba813ae041a
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
d8f7227https://github.com/python/mypy/commit/d8f72279344f032e993a3518c667bba813ae041a
Jan 20, 2016https://github.com/python/mypy/pull/1137#event-521065978
https://github.co/hiddenchars
https://github.com/python/mypy/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F1137
Please reload this pagehttps://github.com/python/mypy/pull/1137
Traceback analysing asyncio "item = yield from queue.get()" https://github.com/python/mypy/issues/836
mypy is confused by return values from generators https://github.com/python/mypy/issues/695
Mandatory Iterator with "yield" https://github.com/python/mypy/issues/633
Full yield support, including yield expressions https://github.com/python/mypy/issues/498
Do not allow returns with arguments in generators https://github.com/python/mypy/issues/20
Please reload this pagehttps://github.com/python/mypy/pull/1137
https://github.com/ddfisher
https://github.com/gvanrossum
https://github.com/JukkaL
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.