René's URL Explorer Experiment


Title: Fix crashes caused by typevarlikes defaults in-place modifications by sterliakov · Pull Request #20139 · python/mypy · GitHub

Open Graph Title: Fix crashes caused by typevarlikes defaults in-place modifications by sterliakov · Pull Request #20139 · python/mypy

X Title: Fix crashes caused by typevarlikes defaults in-place modifications by sterliakov · Pull Request #20139 · python/mypy

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

Open Graph Description: Fixes #19185. Fixes #19186. Replaces #19382 (not closing that yet, need to extract another part related to applytype from there to another PR). When a TypeVar defaults to another TypeVar, that defa...

X Description: Fixes #19185. Fixes #19186. Replaces #19382 (not closing that yet, need to extract another part related to applytype from there to another PR). When a TypeVar defaults to another TypeVar, that defa...

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

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:0cd2d075-4f0e-d9a4-3032-f7c56287d895
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE69C:B1603:2ED4EBD:3DE5319:6B002520
html-safe-noncea39a6c934c0443acffcf45a04ee117024fb88ca6ce524d1cbeefa2f48810ca5e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjlDOkIxNjAzOjJFRDRFQkQ6M0RFNTMxOTo2QjAwMjUyMCIsInZpc2l0b3JfaWQiOiI1ODEyMzE1OTc4NjAzNzAxNTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf059907f5c2c12484ab3606708e1bb6f99d3ba6e83cdd580a1f0bb9afb0e84a2
hovercard-subject-tagpull_request:2956481727
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/20139/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4e33097c11a156252b575c82566e84b450399d6d8735b06949c3e86ea8680cdc/python/mypy/pull/20139
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4e33097c11a156252b575c82566e84b450399d6d8735b06949c3e86ea8680cdc/python/mypy/pull/20139
og:image:altFixes #19185. Fixes #19186. Replaces #19382 (not closing that yet, need to extract another part related to applytype from there to another PR). When a TypeVar defaults to another TypeVar, that defa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesterliakov
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/20139#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F20139
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%2F20139
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/20139
Reloadhttps://github.com/python/mypy/pull/20139
Reloadhttps://github.com/python/mypy/pull/20139
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
sterliakov:bugfix/gh-19186-typevarlikes-defaultshttps://github.com/sterliakov/mypy/tree/bugfix/gh-19186-typevarlikes-defaults
Conversationhttps://github.com/python/mypy/pull/20139
Commits5 (5)https://github.com/python/mypy/pull/20139/commits
Checkshttps://github.com/python/mypy/pull/20139/checks
Files changedhttps://github.com/python/mypy/pull/20139/files
Fix crashes caused by typevarlikes defaults in-place modificationshttps://github.com/python/mypy/pull/20139#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
sterliakov:bugfix/gh-19186-typevarlikes-defaultshttps://github.com/sterliakov/mypy/tree/bugfix/gh-19186-typevarlikes-defaults
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Oct 28, 2025https://github.com/python/mypy/pull/20139#issue-3563032583
#19185https://github.com/python/mypy/issues/19185
#19186https://github.com/python/mypy/issues/19186
#19382https://github.com/python/mypy/pull/19382
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/sterliakov
Prohibit typevars defaulting to something out of scopehttps://github.com/python/mypy/pull/20139/commits/6e0887956c797cb6dd850da15570432eb350a7b3
6e08879https://github.com/python/mypy/pull/20139/commits/6e0887956c797cb6dd850da15570432eb350a7b3
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Oct 28, 2025 https://github.com/python/mypy/pull/20139#ref-issue-3563044870
Check #20139 sterliakov/mypy-issues#204 https://github.com/sterliakov/mypy-issues/issues/204
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F20139
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
ilevkivskyihttps://github.com/ilevkivskyi
October 28, 2025 19:42https://github.com/python/mypy/pull/20139#event-20562996012
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
crash https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Acrash
Oct 28, 2025https://github.com/python/mypy/pull/20139#event-20562998683
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 30, 2025 https://github.com/python/mypy/pull/20139#pullrequestreview-3397205279
View reviewed changes https://github.com/python/mypy/pull/20139/files/6e0887956c797cb6dd850da15570432eb350a7b3
hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/python/mypy/pull/20139#pullrequestreview-3397205279
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
sterliakovhttps://github.com/sterliakov
October 30, 2025 17:20https://github.com/python/mypy/pull/20139#commits-pushed-dd867a4
https://github.com/sterliakov
Refactor to pass fail func to bind_new insteadhttps://github.com/python/mypy/pull/20139/commits/dd867a4b8fbe0c2b4ca359371c4c901d2a6a7c0a
dd867a4https://github.com/python/mypy/pull/20139/commits/dd867a4b8fbe0c2b4ca359371c4c901d2a6a7c0a
https://github.com/sterliakov
Merge remote-tracking branch 'upstream/master' into bugfix/https://github.com/python/mypy/pull/20139/commits/388fafeacede8056f44fadc409812b880e29a856
pythongh-1…https://github.com/python/mypy/issues/19186
388fafehttps://github.com/python/mypy/pull/20139/commits/388fafeacede8056f44fadc409812b880e29a856
…9186https://github.com/python/mypy/issues/19186
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F20139
https://github.com/sterliakov
sterliakovhttps://github.com/sterliakov
Oct 31, 2025https://github.com/python/mypy/pull/20139#issuecomment-3473348466
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Nov 3, 2025 https://github.com/python/mypy/pull/20139#pullrequestreview-3409653144
View reviewed changes https://github.com/python/mypy/pull/20139/files/388fafeacede8056f44fadc409812b880e29a856
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/20139#pullrequestreview-3409653144
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 20, 2025 https://github.com/python/mypy/pull/20139#pullrequestreview-3485421538
View reviewed changes https://github.com/python/mypy/pull/20139/files/388fafeacede8056f44fadc409812b880e29a856
ilevkivskyihttps://github.com/ilevkivskyi
https://github.com/python/mypy/pull/20139#pullrequestreview-3485421538
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
test-data/unit/check-typevar-defaults.testhttps://github.com/python/mypy/pull/20139/files/388fafeacede8056f44fadc409812b880e29a856#diff-a79a683b5202cd4a9e44e7af29508c2bca55400f823878db73f7f2432af74b69
ilevkivskyihttps://github.com/ilevkivskyi
Nov 20, 2025https://github.com/python/mypy/pull/20139#discussion_r2544126285
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
ilevkivskyihttps://github.com/ilevkivskyi
Nov 20, 2025https://github.com/python/mypy/pull/20139#discussion_r2545710896
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
sterliakovhttps://github.com/sterliakov
Nov 20, 2025https://github.com/python/mypy/pull/20139#discussion_r2545724029
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
ilevkivskyihttps://github.com/ilevkivskyi
Nov 20, 2025https://github.com/python/mypy/pull/20139#discussion_r2545736440
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/20139
ilevkivskyihttps://github.com/ilevkivskyi
November 20, 2025 11:39https://github.com/python/mypy/pull/20139#commits-pushed-d0760b1
https://github.com/ilevkivskyi
Merge remote-tracking branch 'upstream/master' into bugfix/https://github.com/python/mypy/pull/20139/commits/d0760b10bc129e3ea67c82735e96d7728a59a846
pythongh-1…https://github.com/python/mypy/issues/19186
d0760b1https://github.com/python/mypy/pull/20139/commits/d0760b10bc129e3ea67c82735e96d7728a59a846
…9186https://github.com/python/mypy/issues/19186
https://github.com/ilevkivskyi
Some more testinghttps://github.com/python/mypy/pull/20139/commits/cabdf50033df4e9fec9e2d3656ed6f59f071dde9
cabdf50https://github.com/python/mypy/pull/20139/commits/cabdf50033df4e9fec9e2d3656ed6f59f071dde9
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 20, 2025https://github.com/python/mypy/pull/20139#issuecomment-3557678685
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
f24678fhttps://github.com/python/mypy/commit/f24678faacf26966daef558f9c94f552b9f809bf
Nov 20, 2025https://github.com/python/mypy/pull/20139#event-21069172407
Please reload this pagehttps://github.com/python/mypy/pull/20139
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Nov 28, 2025 https://github.com/python/mypy/pull/20139#ref-issue-3474768227
1.19 Release Planning #19964 https://github.com/python/mypy/issues/19964
https://github.com/RiyaPrabhakar-git
RiyaPrabhakar-githttps://github.com/RiyaPrabhakar-git
GC-Content-Calculatorhttps://github.com/users/RiyaPrabhakar-git/projects/1
Dec 12, 2025https://github.com/python/mypy/pull/20139#event-21527481302
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
GC-Content-Calculatorhttps://github.com/users/RiyaPrabhakar-git/projects/1
Dec 12, 2025https://github.com/python/mypy/pull/20139#event-21527481559
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%2F20139
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/20139/files/388fafeacede8056f44fadc409812b880e29a856
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/20139/files/388fafeacede8056f44fadc409812b880e29a856
Please reload this pagehttps://github.com/python/mypy/pull/20139
crash https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Acrash
Crash using forward-referencing type alias parameterised by dependent type variables https://github.com/python/mypy/issues/19186
TYPE_CHECKING-only Final-annotated nested always-true/false flags crashes with conditional type aliases https://github.com/python/mypy/issues/19185
Please reload this pagehttps://github.com/python/mypy/pull/20139
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.