René's URL Explorer Experiment


Title: Optimize bind_self() and deprecation checks by ilevkivskyi · Pull Request #19556 · python/mypy · GitHub

Open Graph Title: Optimize bind_self() and deprecation checks by ilevkivskyi · Pull Request #19556 · python/mypy

X Title: Optimize bind_self() and deprecation checks by ilevkivskyi · Pull Request #19556 · python/mypy

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

Open Graph Description: This contains two related optimizations: Simplify deprecation check by removing several bind_self() calls and instead restoring callable type definitions in fixup.py, and using them during overloa...

X Description: This contains two related optimizations: Simplify deprecation check by removing several bind_self() calls and instead restoring callable type definitions in fixup.py, and using them during overloa...

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

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:fc958d7d-9be7-6731-b795-4172f8456218
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7EC:356FBF:21E5846:2DD9A4D:6B001F94
html-safe-nonce03de87d9dc9d0999673dacd71c13ec080b925d602eae8792f4868933d70cc161
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VDOjM1NkZCRjoyMUU1ODQ2OjJERDlBNEQ6NkIwMDFGOTQiLCJ2aXNpdG9yX2lkIjoiNTQ3NTM2OTUwMjEwNTQxMTQ3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2baddb54c730e1ae1f245627945397f42778a66e60b98f92e10fe09e22d6ebbb
hovercard-subject-tagpull_request:2711572611
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/19556/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6f330b724a4bd6891686cdd97ee51f8e28c9898fb38f5f0c31cfd503f45d62c9/python/mypy/pull/19556
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6f330b724a4bd6891686cdd97ee51f8e28c9898fb38f5f0c31cfd503f45d62c9/python/mypy/pull/19556
og:image:altThis contains two related optimizations: Simplify deprecation check by removing several bind_self() calls and instead restoring callable type definitions in fixup.py, and using them during overloa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilevkivskyi
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/19556#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19556
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%2F19556
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/19556
Reloadhttps://github.com/python/mypy/pull/19556
Reloadhttps://github.com/python/mypy/pull/19556
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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:fast-bind-self-deprecatedhttps://github.com/ilevkivskyi/mypy/tree/fast-bind-self-deprecated
Conversationhttps://github.com/python/mypy/pull/19556
Commits7 (7)https://github.com/python/mypy/pull/19556/commits
Checkshttps://github.com/python/mypy/pull/19556/checks
Files changedhttps://github.com/python/mypy/pull/19556/files
Optimize bind_self() and deprecation checkshttps://github.com/python/mypy/pull/19556#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ilevkivskyi:fast-bind-self-deprecatedhttps://github.com/ilevkivskyi/mypy/tree/fast-bind-self-deprecated
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#issue-3282080682
Please reload this pagehttps://github.com/python/mypy/pull/19556
Please reload this pagehttps://github.com/python/mypy/pull/19556
ilevkivskyihttps://github.com/ilevkivskyi
August 1, 2025 00:11https://github.com/python/mypy/pull/19556#commits-pushed-80db966
https://github.com/ilevkivskyi
Faster algorithm for deprecations and bind_selfhttps://github.com/python/mypy/pull/19556/commits/80db966aaad5094dc7f27f691a7728b842332db4
80db966https://github.com/python/mypy/pull/19556/commits/80db966aaad5094dc7f27f691a7728b842332db4
https://github.com/ilevkivskyi
Try without pre-filterhttps://github.com/python/mypy/pull/19556/commits/5c3ec54b1ce79c900692e4f4041e79109ccaff16
5c3ec54https://github.com/python/mypy/pull/19556/commits/5c3ec54b1ce79c900692e4f4041e79109ccaff16
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
JukkaLhttps://github.com/JukkaL
hauntsaninjahttps://github.com/hauntsaninja
sterliakovhttps://github.com/sterliakov
August 1, 2025 00:29https://github.com/python/mypy/pull/19556#event-18928849689
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#event-18928899565
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19556
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#issuecomment-3141806470
Please reload this pagehttps://github.com/python/mypy/pull/19556
ilevkivskyihttps://github.com/ilevkivskyi
August 1, 2025 09:53https://github.com/python/mypy/pull/19556#commits-pushed-907c4ce
https://github.com/ilevkivskyi
Restore some old logic; add caouple micro-optimizationshttps://github.com/python/mypy/pull/19556/commits/907c4ce08454e5375f2219aa1256d248082055a6
907c4cehttps://github.com/python/mypy/pull/19556/commits/907c4ce08454e5375f2219aa1256d248082055a6
https://github.com/ilevkivskyi
Delete filter againhttps://github.com/python/mypy/pull/19556/commits/33ee9e33b52eb5f950f84baefc52dc3859d7c6ea
33ee9e3https://github.com/python/mypy/pull/19556/commits/33ee9e33b52eb5f950f84baefc52dc3859d7c6ea
https://github.com/ilevkivskyi
Try inlined versionhttps://github.com/python/mypy/pull/19556/commits/cb262e17d44d5b568dbc1ba4bc35520a1eaa5bc5
cb262e1https://github.com/python/mypy/pull/19556/commits/cb262e17d44d5b568dbc1ba4bc35520a1eaa5bc5
https://github.com/ilevkivskyi
Add a test and a commenthttps://github.com/python/mypy/pull/19556/commits/f7b7cb8cdc9f54be3a4a2ba9f33049dd0f34bc12
f7b7cb8https://github.com/python/mypy/pull/19556/commits/f7b7cb8cdc9f54be3a4a2ba9f33049dd0f34bc12
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#issuecomment-3144926272
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19556
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#issuecomment-3144987663
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/ilevkivskyi
Make logic even closer to the old onehttps://github.com/python/mypy/pull/19556/commits/45467c55b230bb431fd053ce27532f9b2947a2b6
45467c5https://github.com/python/mypy/pull/19556/commits/45467c55b230bb431fd053ce27532f9b2947a2b6
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 1, 2025https://github.com/python/mypy/pull/19556#issuecomment-3145279500
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Aug 1, 2025https://github.com/python/mypy/pull/19556#issuecomment-3145309338
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Aug 2, 2025 https://github.com/python/mypy/pull/19556#pullrequestreview-3080796353
View reviewed changes https://github.com/python/mypy/pull/19556/files/45467c55b230bb431fd053ce27532f9b2947a2b6
sterliakovhttps://github.com/sterliakov
https://github.com/python/mypy/pull/19556#pullrequestreview-3080796353
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
mypy/nodes.pyhttps://github.com/python/mypy/pull/19556/files/45467c55b230bb431fd053ce27532f9b2947a2b6#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
sterliakovhttps://github.com/sterliakov
Aug 2, 2025https://github.com/python/mypy/pull/19556#discussion_r2249026707
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
ilevkivskyihttps://github.com/ilevkivskyi
Aug 2, 2025https://github.com/python/mypy/pull/19556#discussion_r2249260719
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
sterliakovhttps://github.com/sterliakov
Aug 2, 2025https://github.com/python/mypy/pull/19556#discussion_r2249268289
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
sterliakovhttps://github.com/sterliakov
Aug 2, 2025https://github.com/python/mypy/pull/19556#discussion_r2249269923
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
ilevkivskyihttps://github.com/ilevkivskyi
Aug 2, 2025https://github.com/python/mypy/pull/19556#discussion_r2249271884
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
8e02657https://github.com/python/mypy/commit/8e02657be8217146142fd374a7229f239452f871
Aug 2, 2025https://github.com/python/mypy/pull/19556#event-18951118020
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
August 2, 2025 14:53https://github.com/python/mypy/pull/19556#event-18951118186
https://github.com/Viicos
Viicoshttps://github.com/Viicos
Aug 4, 2025 https://github.com/python/mypy/pull/19556#ref-pullrequest-2756732218
Support @deprecated() on overloaded __get__ for generic descriptors #18333 https://github.com/python/mypy/pull/18333
https://github.com/tyralla
tyrallahttps://github.com/tyralla
Aug 5, 2025 https://github.com/python/mypy/pull/19556#ref-pullrequest-2855411244
PEP 702 (@deprecated): improve the handling of overloaded functions and methods #18682 https://github.com/python/mypy/pull/18682
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%2F19556
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/sterliakov
sterliakov https://github.com/sterliakov
https://github.com/python/mypy/pull/19556/files/45467c55b230bb431fd053ce27532f9b2947a2b6
Please reload this pagehttps://github.com/python/mypy/pull/19556
Please reload this pagehttps://github.com/python/mypy/pull/19556
https://github.com/ilevkivskyi
https://github.com/sterliakov
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.