René's URL Explorer Experiment


Title: gh-124787: Fix `TypeAliasType` and incorrect `type_params` by sobolevn · Pull Request #124795 · python/cpython · GitHub

Open Graph Title: gh-124787: Fix `TypeAliasType` and incorrect `type_params` by sobolevn · Pull Request #124795 · python/cpython

X Title: gh-124787: Fix `TypeAliasType` and incorrect `type_params` by sobolevn · Pull Request #124795 · python/cpython

Description: Issue: TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787

Open Graph Description: Issue: TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787

X Description: Issue: TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787

Opengraph URL: https://github.com/python/cpython/pull/124795

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:a509cc81-954d-ed48-935f-d773d46cd3f5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE2CA:4A437:C67B3:10F55E:696F7937
html-safe-nonce1c85158813207f0ccb45018e986d3063175626bace6bfda6f96ef5d1b221dcc6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkNBOjRBNDM3OkM2N0IzOjEwRjU1RTo2OTZGNzkzNyIsInZpc2l0b3JfaWQiOiIyMDI4ODMyMDE3MTIwOTgzMzUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8bc57ea7ea741fce67a9be58c5241d4e3b3c28dde9a4e3f2e061badd81565e1b
hovercard-subject-tagpull_request:2099718438
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/cpython/124795/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5519d500c60b64fdce11cda91a64ab9571c13a5875c8df7206d50333bc4d2649/python/cpython/pull/124795
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5519d500c60b64fdce11cda91a64ab9571c13a5875c8df7206d50333bc4d2649/python/cpython/pull/124795
og:image:altIssue: TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Noneacc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
releasecc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/124795#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124795
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fcpython%2Fpull%2F124795
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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/124795
Reloadhttps://github.com/python/cpython/pull/124795
Reloadhttps://github.com/python/cpython/pull/124795
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/124795
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.2k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/124795
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/124795#issue-comment-box
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-124787https://github.com/sobolevn/cpython/tree/issue-124787
gh-124787: Fix TypeAliasType and incorrect type_params https://github.com/python/cpython/pull/124795#top
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-124787https://github.com/sobolevn/cpython/tree/issue-124787
Conversation 7 https://github.com/python/cpython/pull/124795
Commits 2 https://github.com/python/cpython/pull/124795/commits
Checks 0 https://github.com/python/cpython/pull/124795/checks
Files changed https://github.com/python/cpython/pull/124795/files
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Sep 30, 2024https://github.com/python/cpython/pull/124795#issue-2557304960
Please reload this pagehttps://github.com/python/cpython/pull/124795
TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787https://github.com/python/cpython/issues/124787
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/sobolevn
pythongh-124787https://github.com/python/cpython/issues/124787
: Fixhttps://github.com/python/cpython/pull/124795/commits/7d439f89864ea0f8eeafd9e855e98d273476dad0
TypeAliasTypehttps://github.com/python/cpython/pull/124795/commits/7d439f89864ea0f8eeafd9e855e98d273476dad0
and incorrecthttps://github.com/python/cpython/pull/124795/commits/7d439f89864ea0f8eeafd9e855e98d273476dad0
type_paramshttps://github.com/python/cpython/pull/124795/commits/7d439f89864ea0f8eeafd9e855e98d273476dad0
7d439f8https://github.com/python/cpython/pull/124795/commits/7d439f89864ea0f8eeafd9e855e98d273476dad0
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
JelleZijlstrahttps://github.com/JelleZijlstra
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/077e7ef6a0abbf9e04b9aa11b4f621031004c31f/.github/CODEOWNERS#L48
September 30, 2024 17:47https://github.com/python/cpython/pull/124795#event-14460236220
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 30, 2024https://github.com/python/cpython/pull/124795#event-14460236847
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 30, 2024 https://github.com/python/cpython/pull/124795#ref-issue-2556806554
TypeAliasType with should also raise an error if non-default type parameter follows default type parameter #124787 https://github.com/python/cpython/issues/124787
Daraanhttps://github.com/Daraan
Sep 30, 2024 https://github.com/python/cpython/pull/124795#ref-commit-4e2f041
https://github.com/Daraan
Consider Type Error fromhttps://github.com/Daraan/typing_extensions/commit/4e2f041cb4920e6a209666aea2f88abffc73845a
python/cpython/pull/124795https://github.com/python/cpython/pull/124795
4e2f041https://github.com/Daraan/typing_extensions/commit/4e2f041cb4920e6a209666aea2f88abffc73845a
https://github.com/Daraan
Daraanhttps://github.com/Daraan
Oct 1, 2024 https://github.com/python/cpython/pull/124795#ref-pullrequest-2558903411
[3.14] Address invalid inputs of TypeAliasType python/typing_extensions#477 https://github.com/python/typing_extensions/pull/477
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 8, 2024 https://github.com/python/cpython/pull/124795#pullrequestreview-2353473804
View reviewed changes https://github.com/python/cpython/pull/124795/files/7d439f89864ea0f8eeafd9e855e98d273476dad0
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/124795#pullrequestreview-2353473804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124795
Misc/NEWS.d/next/Library/2024-09-30-20-46-32.gh-issue-124787.3FnJnP.rsthttps://github.com/python/cpython/pull/124795/files/7d439f89864ea0f8eeafd9e855e98d273476dad0#diff-44568c59d0636b100f9ab50d4c86e4f869daf6b71cc33b7ac203f16d2222391f
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 8, 2024https://github.com/python/cpython/pull/124795#event-14550640798
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 8, 2024https://github.com/python/cpython/pull/124795#issuecomment-2398923565
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 8, 2024https://github.com/python/cpython/pull/124795#issuecomment-2398923621
@JelleZijlstrahttps://github.com/JelleZijlstra
7d439f8https://github.com/python/cpython/commit/7d439f89864ea0f8eeafd9e855e98d273476dad0
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/sobolevn
https://github.com/JelleZijlstra
Update Misc/NEWS.d/next/Library/2024-09-30-20-46-32.gh-issue-124787.3…https://github.com/python/cpython/pull/124795/commits/3b3440bfb829186e4ade5dfb02816a921a8e7fd6
3b3440bhttps://github.com/python/cpython/pull/124795/commits/3b3440bfb829186e4ade5dfb02816a921a8e7fd6
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 8, 2024https://github.com/python/cpython/pull/124795#issuecomment-2399487391
https://private-user-images.githubusercontent.com/4660275/374521102-509b2851-152a-4929-b09c-57fe70a26614.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njg5MTM1MDgsIm5iZiI6MTc2ODkxMzIwOCwicGF0aCI6Ii80NjYwMjc1LzM3NDUyMTEwMi01MDliMjg1MS0xNTJhLTQ5MjktYjA5Yy01N2ZlNzBhMjY2MTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDEyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAxMjBUMTI0NjQ4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDUwZGEwZDE1ZDQ3OTEzMjg0Mjg0ZGYzYmU0MjE2ODY5ZmVjODUwOTY5YTQ5NmIyNzM2MzdhNTU2MmI0OTEyZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kzxLdZJ_lj4CyvZRZ8PVoJ3exuN6QqI4n8Wlti22lG4
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 11, 2024https://github.com/python/cpython/pull/124795#issuecomment-2406626161
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 11, 2024https://github.com/python/cpython/pull/124795#issuecomment-2407553429
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
2115d76https://github.com/python/cpython/commit/2115d76acc14effb3dbb9fedcf21048b2ad62c5e
Oct 11, 2024https://github.com/python/cpython/pull/124795#event-14609917432
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 11, 2024https://github.com/python/cpython/pull/124795#event-14609919125
https://github.com/Daraan
Daraanhttps://github.com/Daraan
Oct 25, 2024 https://github.com/python/cpython/pull/124795#ref-pullrequest-2614448731
Add missing apostrophe to error message that's present cpython main python/typing_extensions#495 https://github.com/python/typing_extensions/pull/495
https://github.com/SanaaHamel
SanaaHamelhttps://github.com/SanaaHamel
Dec 5, 2025 https://github.com/python/cpython/pull/124795#ref-pullrequest-3699651280
fix: compatibility with typing-extensions 3.15 yukinarit/pyserde#675 https://github.com/yukinarit/pyserde/pull/675
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%2Fcpython%2Fpull%2F124795
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/124795/files/7d439f89864ea0f8eeafd9e855e98d273476dad0
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/124795
https://github.com/sobolevn
https://github.com/JelleZijlstra
https://github.com/bedevere-bot
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.