René's URL Explorer Experiment


Title: gh-137191: Fix how type parameters are collected from `Protocol` and `Generic` bases with parameters by sobolevn · Pull Request #137281 · python/cpython · GitHub

Open Graph Title: gh-137191: Fix how type parameters are collected from `Protocol` and `Generic` bases with parameters by sobolevn · Pull Request #137281 · python/cpython

X Title: gh-137191: Fix how type parameters are collected from `Protocol` and `Generic` bases with parameters by sobolevn · Pull Request #137281 · python/cpython

Description: While fixing this problem, I've also noticed that code like class ExtraTypeVars(P1[S], Protocol[T, T2]): ... never produced any TypeError, it is in contrast to class ExtraTypeVars(P1[S], Generic[T,...

Open Graph Description: While fixing this problem, I've also noticed that code like class ExtraTypeVars(P1[S], Protocol[T, T2]): ... never produced any TypeError, it is in contrast to class ExtraTypeVars(P1[S], Generi...

X Description: While fixing this problem, I've also noticed that code like class ExtraTypeVars(P1[S], Protocol[T, T2]): ... never produced any TypeError, it is in contrast to class ExtraTypeVars(P1[S], Ge...

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

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:2e38a164-bf99-d2ee-ca60-810230f4137e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id87A6:374780:D22DB5:11A7D5A:696AC449
html-safe-nonce4ff4518ef3889e7a32ea6c4eb006a33b75521722bfb4044bd28a14727f9be518
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0E2OjM3NDc4MDpEMjJEQjU6MTFBN0Q1QTo2OTZBQzQ0OSIsInZpc2l0b3JfaWQiOiI3MTU2Mjc2MTc2ODExMTE1NTkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3c3363c940f66e73b9397a2063471fff3671a7e6b9a8f8d9ae2b2441704b95f9
hovercard-subject-tagpull_request:2710202017
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/137281/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2bfeea4ca66c87285c11b5bf38b68065d7108a1c4bc6547b9104d42af1c01410/python/cpython/pull/137281
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2bfeea4ca66c87285c11b5bf38b68065d7108a1c4bc6547b9104d42af1c01410/python/cpython/pull/137281
og:image:altWhile fixing this problem, I've also noticed that code like class ExtraTypeVars(P1[S], Protocol[T, T2]): ... never produced any TypeError, it is in contrast to class ExtraTypeVars(P1[S], Generi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
None986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033
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
release89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137281#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137281
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%2F137281
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/137281
Reloadhttps://github.com/python/cpython/pull/137281
Reloadhttps://github.com/python/cpython/pull/137281
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137281
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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/137281
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/137281#issue-comment-box
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-137191https://github.com/sobolevn/cpython/tree/issue-137191
gh-137191: Fix how type parameters are collected from Protocol and Generic bases with parameters https://github.com/python/cpython/pull/137281#top
sobolevnhttps://github.com/sobolevn
python:mainhttps://github.com/python/cpython/tree/main
sobolevn:issue-137191https://github.com/sobolevn/cpython/tree/issue-137191
Conversation 5 https://github.com/python/cpython/pull/137281
Commits 3 https://github.com/python/cpython/pull/137281/commits
Checks 43 https://github.com/python/cpython/pull/137281/checks
Files changed https://github.com/python/cpython/pull/137281/files
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jul 31, 2025https://github.com/python/cpython/pull/137281#issue-3280538884
Please reload this pagehttps://github.com/python/cpython/pull/137281
TypeError when omitting a Protocol type argument with default #137191https://github.com/python/cpython/issues/137191
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
pythongh-137191https://github.com/python/cpython/issues/137191
: Fix how type parameters are collected from `Protocol…https://github.com/python/cpython/pull/137281/commits/5291b13f063cc4901d989c1bf0ceda85191a2029
5291b13https://github.com/python/cpython/pull/137281/commits/5291b13f063cc4901d989c1bf0ceda85191a2029
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
code ownershttps://github.com/python/cpython/blob/d18f73ae1349ed005fa05ea2d852e1ab51dbc087/.github/CODEOWNERS#L254
July 31, 2025 13:45https://github.com/python/cpython/pull/137281#event-18920024593
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
Jul 31, 2025https://github.com/python/cpython/pull/137281#event-18920025603
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 31, 2025 https://github.com/python/cpython/pull/137281#ref-issue-3271559100
TypeError when omitting a Protocol type argument with default #137191 https://github.com/python/cpython/issues/137191
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.15
Jul 31, 2025https://github.com/python/cpython/pull/137281#event-18920038322
https://github.com/sobolevn
Fix linthttps://github.com/python/cpython/pull/137281/commits/555199f79de20c92a6348947eaa759a2f4c21f17
555199fhttps://github.com/python/cpython/pull/137281/commits/555199f79de20c92a6348947eaa759a2f4c21f17
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 31, 2025 https://github.com/python/cpython/pull/137281#pullrequestreview-3075737190
View reviewed changes https://github.com/python/cpython/pull/137281/files/555199f79de20c92a6348947eaa759a2f4c21f17
Lib/typing.pyhttps://github.com/python/cpython/pull/137281/files/555199f79de20c92a6348947eaa759a2f4c21f17#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 31, 2025 https://github.com/python/cpython/pull/137281#pullrequestreview-3075741664
View reviewed changes https://github.com/python/cpython/pull/137281/files/555199f79de20c92a6348947eaa759a2f4c21f17
Misc/NEWS.d/next/Library/2025-07-31-16-43-16.gh-issue-137191.FIogE8.rsthttps://github.com/python/cpython/pull/137281/files/555199f79de20c92a6348947eaa759a2f4c21f17#diff-1642959d1dc92b2bbb0ad0ddc7a5ba2809767b1c1daa5f9d128edf0b118c6262
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
Address reviewhttps://github.com/python/cpython/pull/137281/commits/9d3f6c5bf184a703bdfb1b188538c254f31e16c4
9d3f6c5https://github.com/python/cpython/pull/137281/commits/9d3f6c5bf184a703bdfb1b188538c254f31e16c4
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 31, 2025 https://github.com/python/cpython/pull/137281#pullrequestreview-3075873402
View reviewed changes https://github.com/python/cpython/pull/137281/files/9d3f6c5bf184a703bdfb1b188538c254f31e16c4
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
Jul 31, 2025https://github.com/python/cpython/pull/137281#event-18921882745
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jul 31, 2025https://github.com/python/cpython/pull/137281#issuecomment-3140390183
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 3, 2025https://github.com/python/cpython/pull/137281#issuecomment-3148113257
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
158b28dhttps://github.com/python/cpython/commit/158b28dd1906c5d3fac7955f87ba808f1e89fdad
Aug 3, 2025https://github.com/python/cpython/pull/137281#event-18955345851
Please reload this pagehttps://github.com/python/cpython/pull/137281
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
Aug 3, 2025https://github.com/python/cpython/pull/137281#event-18955346000
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Aug 3, 2025https://github.com/python/cpython/pull/137281#issuecomment-3148282100
158b28dhttps://github.com/python/cpython/commit/158b28dd1906c5d3fac7955f87ba808f1e89fdad
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/1811/builds/69https://buildbot.python.org/#/builders/1811/builds/69
158b28dhttps://github.com/python/cpython/commit/158b28dd1906c5d3fac7955f87ba808f1e89fdad
https://buildbot.python.org/#/builders/1811/builds/69https://buildbot.python.org/#/builders/1811/builds/69
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 3, 2025 https://github.com/python/cpython/pull/137281#ref-issue-3287001574
ARM Raspbian Linux Asan 3.x buildbot failure: "warning: array subscript 0 is outside array bounds" #137336 https://github.com/python/cpython/issues/137336
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/137281#ref-commit-8eb34a7
https://github.com/sobolevn
https://github.com/Agent-Hellboy
pythongh-137191https://github.com/python/cpython/issues/137191
: Fix how type parameters are collected from `Protocol…https://github.com/Agent-Hellboy/cpython/commit/8eb34a730e4c2690ecb49c9144f0411ded7d7197
8eb34a7https://github.com/Agent-Hellboy/cpython/commit/8eb34a730e4c2690ecb49c9144f0411ded7d7197
python#137281https://github.com/python/cpython/pull/137281
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Sep 1, 2025 https://github.com/python/cpython/pull/137281#ref-pullrequest-3373505706
Fix how type parameters are collected from parametrized Protocol bases python/typing_extensions#667 https://github.com/python/typing_extensions/pull/667
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%2F137281
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/137281/files/9d3f6c5bf184a703bdfb1b188538c254f31e16c4
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.15
Please reload this pagehttps://github.com/python/cpython/pull/137281
https://github.com/sobolevn
https://github.com/bedevere-bot
https://github.com/JelleZijlstra
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.