René's URL Explorer Experiment


Title: Prevent a crash when InitVar is redefined with a method in a subclass by sterliakov · Pull Request #19453 · python/mypy · GitHub

Open Graph Title: Prevent a crash when InitVar is redefined with a method in a subclass by sterliakov · Pull Request #19453 · python/mypy

X Title: Prevent a crash when InitVar is redefined with a method in a subclass by sterliakov · Pull Request #19453 · python/mypy

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

Open Graph Description: Fixes #19443. This case is too niche (and should be trivially avoidable), so just not crashing should be good enough. The value is indeed redefined, and trying to massage the plugin to move the X-r...

X Description: Fixes #19443. This case is too niche (and should be trivially avoidable), so just not crashing should be good enough. The value is indeed redefined, and trying to massage the plugin to move the X-r...

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

X: @github

direct link

Domain: github.com

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:aaa53ddc-a85c-2f02-cb5a-4d64825ec60f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B2A:7B48B:51F942:6D8C6D:6A613B9A
html-safe-noncedaa508a76c494fa2721042a17637778483774fccfb049c0af5e7b4275991a324
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjJBOjdCNDhCOjUxRjk0Mjo2RDhDNkQ6NkE2MTNCOUEiLCJ2aXNpdG9yX2lkIjoiNDgwMDAwNzQzNDA1OTk4Nzg2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac493729f95b94b0c017cef62faf8952cbbd38b423fc219faff25f51caed02276a
hovercard-subject-tagpull_request:2668440697
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/19453/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/31db2f5eeec7e8f429b23cd9c12a0670cfb0ba48c5a1435151e639fa95458e6c/python/mypy/pull/19453
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31db2f5eeec7e8f429b23cd9c12a0670cfb0ba48c5a1435151e639fa95458e6c/python/mypy/pull/19453
og:image:altFixes #19443. This case is too niche (and should be trivially avoidable), so just not crashing should be good enough. The value is indeed redefined, and trying to massage the plugin to move the X-r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesterliakov
hostnamegithub.com
expected-hostnamegithub.com
None2b7a3d1e6770dc7153450d820fcfe9a7851c4cf2251dcc29c7ad3c5cd1b9e88b
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
release78cf9d43f120d1f03636ca22ab420bcbb1712804
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/mypy/pull/19453#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19453
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19453
Sign up https://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/19453
Reloadhttps://github.com/python/mypy/pull/19453
Reloadhttps://github.com/python/mypy/pull/19453
Please reload this pagehttps://github.com/python/mypy/pull/19453
python https://github.com/python
mypyhttps://github.com/python/mypy
Please reload this pagehttps://github.com/python/mypy/pull/19453
Notifications https://github.com/login?return_to=%2Fpython%2Fmypy
Fork 3.3k https://github.com/login?return_to=%2Fpython%2Fmypy
Star 20.5k https://github.com/login?return_to=%2Fpython%2Fmypy
Code https://github.com/python/mypy
Issues 2.7k https://github.com/python/mypy/issues
Pull requests 473 https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality 0 https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
Code https://github.com/python/mypy
Issues https://github.com/python/mypy/issues
Pull requests https://github.com/python/mypy/pulls
Actions https://github.com/python/mypy/actions
Projects https://github.com/python/mypy/projects
Wiki https://github.com/python/mypy/wiki
Security and quality https://github.com/python/mypy/security
Insights https://github.com/python/mypy/pulse
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
sterliakov:bugfix/gh-19443-dataclass-initvar-redefinition-crashhttps://github.com/sterliakov/mypy/tree/bugfix/gh-19443-dataclass-initvar-redefinition-crash
Conversationhttps://github.com/python/mypy/pull/19453
Commits2 (2)https://github.com/python/mypy/pull/19453/commits
Checkshttps://github.com/python/mypy/pull/19453/checks
Files changedhttps://github.com/python/mypy/pull/19453/files
Prevent a crash when InitVar is redefined with a method in a subclasshttps://github.com/python/mypy/pull/19453#top
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
sterliakov:bugfix/gh-19443-dataclass-initvar-redefinition-crashhttps://github.com/sterliakov/mypy/tree/bugfix/gh-19443-dataclass-initvar-redefinition-crash
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Jul 15, 2025https://github.com/python/mypy/pull/19453#issue-3233420610
#19443https://github.com/python/mypy/issues/19443
Please reload this pagehttps://github.com/python/mypy/pull/19453
sterliakovhttps://github.com/sterliakov
July 15, 2025 21:10https://github.com/python/mypy/pull/19453#commits-pushed-0443f25
https://github.com/sterliakov
Prevent crash when InitVar is redefined with a method in a subclasshttps://github.com/python/mypy/pull/19453/commits/0443f2585e4b981f1db88486e369cbc1ef52b64c
0443f25https://github.com/python/mypy/pull/19453/commits/0443f2585e4b981f1db88486e369cbc1ef52b64c
https://github.com/sterliakov
Fix lineno in testhttps://github.com/python/mypy/pull/19453/commits/c0ccf1c4684440cad42741e8ad06896721859439
c0ccf1chttps://github.com/python/mypy/pull/19453/commits/c0ccf1c4684440cad42741e8ad06896721859439
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 15, 2025https://github.com/python/mypy/pull/19453#issuecomment-3075387591
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/19453
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 16, 2025 https://github.com/python/mypy/pull/19453#pullrequestreview-3022785592
View reviewed changes https://github.com/python/mypy/pull/19453/files/c0ccf1c4684440cad42741e8ad06896721859439
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
6403752https://github.com/python/mypy/commit/640375293f140f573bda1c7dfc5e1bde851198fd
Jul 16, 2025https://github.com/python/mypy/pull/19453#event-18649192558
Please reload this pagehttps://github.com/python/mypy/pull/19453
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 16, 2025 https://github.com/python/mypy/pull/19453#ref-issue-3150899916
1.17 Release Planning #19306 https://github.com/python/mypy/issues/19306
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jul 17, 2025 https://github.com/python/mypy/pull/19453#pullrequestreview-3028835074
View reviewed changes https://github.com/python/mypy/pull/19453/files/c0ccf1c4684440cad42741e8ad06896721859439
mypy/checker.pyhttps://github.com/python/mypy/pull/19453/files/c0ccf1c4684440cad42741e8ad06896721859439#diff-f96a2d6138bc6cdf2a07c4d37f6071cc25c1631afc107e277a28d5b59fc0ef04
ilevkivskyihttps://github.com/ilevkivskyi
Jul 17, 2025https://github.com/python/mypy/pull/19453#discussion_r2212913204
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@sterliakovhttps://github.com/sterliakov
Please reload this pagehttps://github.com/python/mypy/pull/19453
sterliakovhttps://github.com/sterliakov
Jul 17, 2025https://github.com/python/mypy/pull/19453#discussion_r2213158147
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19453
ilevkivskyihttps://github.com/ilevkivskyi
Jul 17, 2025https://github.com/python/mypy/pull/19453#discussion_r2213575279
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19453
hauntsaninjahttps://github.com/hauntsaninja
Jul 27, 2025 https://github.com/python/mypy/pull/19453#ref-commit-88fdeaa
https://github.com/sterliakov
https://github.com/hauntsaninja
Prevent a crash when InitVar is redefined with a method in a subclass (https://github.com/python/mypy/commit/88fdeaae0abc92d605fc475fd153b4ad5b239310
https://github.com/python/mypy/pull/19453
88fdeaahttps://github.com/python/mypy/commit/88fdeaae0abc92d605fc475fd153b4ad5b239310
…#19453https://github.com/python/mypy/pull/19453
#19443https://github.com/python/mypy/issues/19443
736-c41-2c1-e464fc974https://github.com/736-c41-2c1-e464fc974
Jan 15, 2026 https://github.com/python/mypy/pull/19453#ref-commit-c249c58
https://github.com/736-c41-2c1-e464fc974
chore(deps): update root dev dependencies (minor) (minor)https://github.com/Swiss-Armed-Forces/Loom/commit/c249c5881598e2faf9bef708514ab95193a1337f
c249c58https://github.com/Swiss-Armed-Forces/Loom/commit/c249c5881598e2faf9bef708514ab95193a1337f
736-c41-2c1-e464fc974https://github.com/736-c41-2c1-e464fc974
Jan 15, 2026 https://github.com/python/mypy/pull/19453#ref-commit-1ada5d2
https://github.com/736-c41-2c1-e464fc974
Merge branch 'renovate/root-dev-dependencies' into 'main'https://github.com/Swiss-Armed-Forces/Loom/commit/1ada5d2c4f5a68d4686ff7ccd59cd8726dccff70
1ada5d2https://github.com/Swiss-Armed-Forces/Loom/commit/1ada5d2c4f5a68d4686ff7ccd59cd8726dccff70
nicopausshttps://github.com/nicopauss
Apr 1, 2026 https://github.com/python/mypy/pull/19453#ref-commit-ba3e688
https://github.com/renovate-bot
https://github.com/nicopauss
chore(deps): update dependency mypy to v1.19.1 (2024.6)https://github.com/Intersec/lib-common/commit/ba3e688da504d84eadd2ea5eeda265c6c1662fed
ba3e688https://github.com/Intersec/lib-common/commit/ba3e688da504d84eadd2ea5eeda265c6c1662fed
https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1191https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1191
python/mypy#20345https://github.com/python/mypy/pull/20345
python/mypy#20372https://github.com/python/mypy/pull/20372
python/mypy#20383https://github.com/python/mypy/pull/20383
python/mypy#20371https://github.com/python/mypy/pull/20371
python/mypy#20323https://github.com/python/mypy/pull/20323
python/mypy#20333https://github.com/python/mypy/pull/20333
python/mypy#20334https://github.com/python/mypy/pull/20334
python/mypy#20389https://github.com/python/mypy/pull/20389
python/mypy@v1.18.2...v1.19.0https://github.com/python/mypy/compare/v1.18.2...v1.19.0
https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1182https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1182
python/mypy#19845https://github.com/python/mypy/pull/19845
python/mypy#19733https://github.com/python/mypy/pull/19733
python/mypy#19846https://github.com/python/mypy/pull/19846
python/mypy@v1.17.1...v1.18.1https://github.com/python/mypy/compare/v1.17.1...v1.18.1
https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1171https://github.com/python/mypy/blob/HEAD/CHANGELOG.md#Mypy-1171
python/mypy#19485https://github.com/python/mypy/pull/19485
python/mypy#19428https://github.com/python/mypy/pull/19428
python/mypy#19453https://github.com/python/mypy/pull/19453
python/mypy@v1.16.1...v1.17.0https://github.com/python/mypy/compare/v1.16.1...v1.17.0
python/mypy@v1.16.0...v1.16.1https://github.com/python/mypy/compare/v1.16.0...v1.16.1
python/mypy@v1.15.0...v1.16.0https://github.com/python/mypy/compare/v1.15.0...v1.16.0
python/mypy@v1.14.1...v1.15.0https://github.com/python/mypy/compare/v1.14.1...v1.15.0
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%2F19453
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/19453/files/c0ccf1c4684440cad42741e8ad06896721859439
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/19453/files/c0ccf1c4684440cad42741e8ad06896721859439
[1.16 regression] Crashes on a combination of dataclass inheritance, InitVar, and properties. https://github.com/python/mypy/issues/19443
Please reload this pagehttps://github.com/python/mypy/pull/19453
https://github.com/sterliakov
https://github.com/ilevkivskyi
https://github.com/hauntsaninja
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.