René's URL Explorer Experiment


Title: Give self argument the correct type when using check_untyped_defs by msullivan · Pull Request #7530 · python/mypy · GitHub

Open Graph Title: Give self argument the correct type when using check_untyped_defs by msullivan · Pull Request #7530 · python/mypy

X Title: Give self argument the correct type when using check_untyped_defs by msullivan · Pull Request #7530 · python/mypy

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

Open Graph Description: This is accomplished by updating the helper that constructs a callable type from a func def to fill in the self argument. This will make check_untyped_defs a lot more useful.

X Description: This is accomplished by updating the helper that constructs a callable type from a func def to fill in the self argument. This will make check_untyped_defs a lot more useful.

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

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:e55193d5-372d-1ed6-a17e-14a37a6e741e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC784:1BAA33:197C2F5:21CD982:6B002520
html-safe-noncebcb4e32722409a7b8d207b6a4eedb83818aef3d5bef5dd6b7bb3f92b97283a30
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzg0OjFCQUEzMzoxOTdDMkY1OjIxQ0Q5ODI6NkIwMDI1MjAiLCJ2aXNpdG9yX2lkIjoiMzU4Mjg3NTQ1OTcxODc1MTUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac97200b32bd0ff4ed189eb0ac3cf2e381fc51c237e8eff002e3f79f795991649f
hovercard-subject-tagpull_request:319019312
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/7530/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dfa82d2f8d4e858333c640071ce18e40da3b08a2cf5244e03e3375e881fbd9e4/python/mypy/pull/7530
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dfa82d2f8d4e858333c640071ce18e40da3b08a2cf5244e03e3375e881fbd9e4/python/mypy/pull/7530
og:image:altThis is accomplished by updating the helper that constructs a callable type from a func def to fill in the self argument. This will make check_untyped_defs a lot more useful.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsullivan
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/7530#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F7530
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%2F7530
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/7530
Reloadhttps://github.com/python/mypy/pull/7530
Reloadhttps://github.com/python/mypy/pull/7530
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 requests546 (546)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
msullivanhttps://github.com/msullivan
masterhttps://github.com/python/mypy/tree/master
check-untyped-selfhttps://github.com/python/mypy/tree/check-untyped-self
Conversationhttps://github.com/python/mypy/pull/7530
Commits4 (4)https://github.com/python/mypy/pull/7530/commits
Checkshttps://github.com/python/mypy/pull/7530/checks
Files changedhttps://github.com/python/mypy/pull/7530/files
Give self argument the correct type when using check_untyped_defshttps://github.com/python/mypy/pull/7530#top
msullivanhttps://github.com/msullivan
masterhttps://github.com/python/mypy/tree/master
check-untyped-selfhttps://github.com/python/mypy/tree/check-untyped-self
https://github.com/msullivan
msullivanhttps://github.com/msullivan
Sep 18, 2019https://github.com/python/mypy/pull/7530#issue-495478045
Please reload this pagehttps://github.com/python/mypy/pull/7530
https://github.com/msullivan
Move function_type and callable_typehttps://github.com/python/mypy/pull/7530/commits/832ccc42ed98ee3f8a6e1c773eebce1e87d49e73
832ccc4https://github.com/python/mypy/pull/7530/commits/832ccc42ed98ee3f8a6e1c773eebce1e87d49e73
https://github.com/msullivan
msullivanhttps://github.com/msullivan
JukkaLhttps://github.com/JukkaL
ilevkivskyihttps://github.com/ilevkivskyi
September 18, 2019 22:07https://github.com/python/mypy/pull/7530#event-2645081035
https://github.com/msullivan
Give self a type when using check_untyped_defshttps://github.com/python/mypy/pull/7530/commits/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
b1c3238https://github.com/python/mypy/pull/7530/commits/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
https://github.com/msullivan
msullivanhttps://github.com/msullivan
force-pushedhttps://github.com/python/mypy/compare/43c2b66ba1b03c27a830bde4c4a171992cac20d3..b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
43c2b66https://github.com/python/mypy/commit/43c2b66ba1b03c27a830bde4c4a171992cac20d3
b1c3238https://github.com/python/mypy/commit/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
Compare https://github.com/python/mypy/compare/43c2b66ba1b03c27a830bde4c4a171992cac20d3..b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
September 18, 2019 23:02https://github.com/python/mypy/pull/7530#event-2645176844
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Sep 19, 2019 https://github.com/python/mypy/pull/7530#pullrequestreview-290568961
View reviewed changes https://github.com/python/mypy/pull/7530/files/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/7530#pullrequestreview-290568961
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#7309https://github.com/python/mypy/issues/7309
#5401https://github.com/python/mypy/issues/5401
#4637https://github.com/python/mypy/issues/4637
#1514https://github.com/python/mypy/issues/1514
Please reload this pagehttps://github.com/python/mypy/pull/7530
test-data/unit/check-classes.testhttps://github.com/python/mypy/pull/7530/files/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6#diff-1c26dc582ed5f36723414080dfb646bc71cf20736b73ae1ccff9b90a5d3befaf
ilevkivskyihttps://github.com/ilevkivskyi
Sep 19, 2019https://github.com/python/mypy/pull/7530#discussion_r326176201
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/7530
JukkaLhttps://github.com/JukkaL
Sep 19, 2019https://github.com/python/mypy/pull/7530#discussion_r326275026
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/7530
mypy/typeops.pyhttps://github.com/python/mypy/pull/7530/files/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6#diff-1dce7e2a19559e2ff4e08fd46877b87c9cfec3cb5e6d465157788542948e11e4
Please reload this pagehttps://github.com/python/mypy/pull/7530
mypy/typeops.pyhttps://github.com/python/mypy/pull/7530/files/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6#diff-1dce7e2a19559e2ff4e08fd46877b87c9cfec3cb5e6d465157788542948e11e4
Please reload this pagehttps://github.com/python/mypy/pull/7530
msullivanhttps://github.com/msullivan
September 19, 2019 11:35https://github.com/python/mypy/pull/7530#commits-pushed-bcebf32
https://github.com/msullivan
Add some more testhttps://github.com/python/mypy/pull/7530/commits/bcebf32b808adba6a608405b159b3129fad22f18
bcebf32https://github.com/python/mypy/pull/7530/commits/bcebf32b808adba6a608405b159b3129fad22f18
https://github.com/msullivan
Be permissive about checking untyped defshttps://github.com/python/mypy/pull/7530/commits/6d2ee9d48af3c37dd8740b48cf49a41789d434bd
6d2ee9dhttps://github.com/python/mypy/pull/7530/commits/6d2ee9d48af3c37dd8740b48cf49a41789d434bd
https://github.com/msullivan
msullivanhttps://github.com/msullivan
855076bhttps://github.com/python/mypy/commit/855076b6a672017f7dbafe3080cf9daa31f5f1f3
Sep 19, 2019https://github.com/python/mypy/pull/7530#event-2648539089
https://github.com/msullivan
msullivanhttps://github.com/msullivan
September 19, 2019 22:01https://github.com/python/mypy/pull/7530#event-2648539197
https://github.com/henribru
henribruhttps://github.com/henribru
Oct 6, 2019 https://github.com/python/mypy/pull/7530#ref-pullrequest-503104566
Type hints: Return Iterator instead of Iterable from __iter__ pytorch/pytorch#27445 https://github.com/pytorch/pytorch/pull/27445
https://github.com/The-Compiler
The-Compilerhttps://github.com/The-Compiler
Oct 22, 2019https://github.com/python/mypy/pull/7530#issuecomment-544821081
my projecthttps://www.qutebrowser.org/
Please reload this pagehttps://github.com/python/mypy/pull/7530
facebook-github-bothttps://github.com/facebook-github-bot
Oct 27, 2019 https://github.com/python/mypy/pull/7530#ref-commit-440b192
https://github.com/henribru
https://github.com/facebook-github-bot
Type hints: Returnhttps://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
Iteratorhttps://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
instead ofhttps://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
Iterablehttps://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
fromhttps://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
__iter__https://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
(https://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
#…https://github.com/pytorch/pytorch/pull/27445
440b192https://github.com/pytorch/pytorch/commit/440b1920782ef09a9f1d8208e097c794376cfbd3
…27445https://github.com/pytorch/pytorch/pull/27445
https://docs.python.org/3/reference/datamodel.html#object.__iter__https://docs.python.org/3/reference/datamodel.html#object.__iter__
https://github.com/pytorch/pytorch/blob/8f7020bbdbb5537bf1954cd252523cb17ab879b1/torch/nn/modules/container.py#L115https://github.com/pytorch/pytorch/blob/8f7020bbdbb5537bf1954cd252523cb17ab879b1/torch/nn/modules/container.py#L115
python/mypy#7530https://github.com/python/mypy/pull/7530
#27445https://github.com/pytorch/pytorch/pull/27445
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
Mar 20, 2020 https://github.com/python/mypy/pull/7530#ref-issue-583832189
Don't require type annotations for locals when using --check-untyped-defs #8558 https://github.com/python/mypy/issues/8558
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%2F7530
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/7530/files/b1c3238f4b0ad611016c0ebaf3dc56eff1df1fa6
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
Please reload this pagehttps://github.com/python/mypy/pull/7530
Please reload this pagehttps://github.com/python/mypy/pull/7530
https://github.com/msullivan
https://github.com/The-Compiler
https://github.com/JukkaL
https://github.com/ilevkivskyi
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.