René's URL Explorer Experiment


Title: Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. by Daraan · Pull Request #130460 · python/cpython · GitHub

Open Graph Title: Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. by Daraan · Pull Request #130460 · python/cpython

X Title: Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. by Daraan · Pull Request #130460 · python/cpython

Description: #109544 introduced a change in an out of spec usage when a value is assigned to __total__ in the class body. In such a case the assigned value is currently overwritten. Added a test cast for verifi...

Open Graph Description: #109544 introduced a change in an out of spec usage when a value is assigned to __total__ in the class body. In such a case the assigned value is currently overwritten. Added a test cast for verifi...

X Description: #109544 introduced a change in an out of spec usage when a value is assigned to __total__ in the class body. In such a case the assigned value is currently overwritten. Added a test cast for verifi...

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

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:b8b9c016-81c6-cd00-1298-adf8b4c7637c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB06:47A9E:1D1F8A7:28A9B24:696FE617
html-safe-nonce33e48ebc658b8c9234e8d337ecc086819d5b5394ea3fcf6dfff401c0c19e6730
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjA2OjQ3QTlFOjFEMUY4QTc6MjhBOUIyNDo2OTZGRTYxNyIsInZpc2l0b3JfaWQiOiIxNzY1NjQ4MzkxMjk1OTg1MTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0e33bf3c1803d493093418eb2246c22cb7feea1d1475b0b8fd468300b79f2e18
hovercard-subject-tagpull_request:2351337172
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/130460/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/881542c726360adf47697de434de9991ebac3a361a55d3bcbd582066012be342/python/cpython/pull/130460
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/881542c726360adf47697de434de9991ebac3a361a55d3bcbd582066012be342/python/cpython/pull/130460
og:image:alt#109544 introduced a change in an out of spec usage when a value is assigned to __total__ in the class body. In such a case the assigned value is currently overwritten. Added a test cast for verifi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDaraan
hostnamegithub.com
expected-hostnamegithub.com
Nonebb7c872aa74896d911608183f4997f8b9c121a1624064705ec4570cd91bd7839
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
release257e1b418957178bd3ac9f7520608a40ebbb0f1e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/130460#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130460
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%2F130460
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/130460
Reloadhttps://github.com/python/cpython/pull/130460
Reloadhttps://github.com/python/cpython/pull/130460
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/130460
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/130460
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/130460#issue-comment-box
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
Daraan:TypedDictWith__total__https://github.com/Daraan/cpython/tree/TypedDictWith__total__
Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. https://github.com/python/cpython/pull/130460#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
Daraan:TypedDictWith__total__https://github.com/Daraan/cpython/tree/TypedDictWith__total__
Conversation 7 https://github.com/python/cpython/pull/130460
Commits 3 https://github.com/python/cpython/pull/130460/commits
Checks 38 https://github.com/python/cpython/pull/130460/checks
Files changed https://github.com/python/cpython/pull/130460/files
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Daraan
Daraanhttps://github.com/Daraan
Feb 22, 2025https://github.com/python/cpython/pull/130460#issue-2870954765
#109544https://github.com/python/cpython/pull/109544
@JelleZijlstrahttps://github.com/JelleZijlstra
python/typing_extensions#519 (comment)https://github.com/python/typing_extensions/pull/519#issuecomment-2654423339
python/typing_extensions#519 (comment)https://github.com/python/typing_extensions/pull/519#issuecomment-2676030610
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/Daraan
test: Assignment to a __total__ key in class bodyhttps://github.com/python/cpython/pull/130460/commits/27af527b1c747b138e7595e0cd3498fb0956e428
27af527https://github.com/python/cpython/pull/130460/commits/27af527b1c747b138e7595e0cd3498fb0956e428
python#109544https://github.com/python/cpython/pull/109544
https://github.com/Daraan
Daraanhttps://github.com/Daraan
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
code ownershttps://github.com/python/cpython/blob/89d8b2d14bb6f7e5c4565b5c3f56d917e6134c89/.github/CODEOWNERS#L243
February 22, 2025 16:17https://github.com/python/cpython/pull/130460#event-16413872528
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 22, 2025https://github.com/python/cpython/pull/130460#issuecomment-2676287208
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16413873690
https://github.com/Daraan
style: run pre-commithttps://github.com/python/cpython/pull/130460/commits/2e7d1d8908bf58207d7a57776965341df5af07f1
2e7d1d8https://github.com/python/cpython/pull/130460/commits/2e7d1d8908bf58207d7a57776965341df5af07f1
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 22, 2025https://github.com/python/cpython/pull/130460#issuecomment-2676290053
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Feb 22, 2025 https://github.com/python/cpython/pull/130460#pullrequestreview-2634991345
View reviewed changes https://github.com/python/cpython/pull/130460/files/27af527b1c747b138e7595e0cd3498fb0956e428
Lib/test/test_typing.pyhttps://github.com/python/cpython/pull/130460/files/27af527b1c747b138e7595e0cd3498fb0956e428#diff-04d29c98076c2d6bb75921ea9becb26a862544d39b71db87b6e354c759b9305d
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16413997388
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 22, 2025 https://github.com/python/cpython/pull/130460#pullrequestreview-2635000358
View reviewed changes https://github.com/python/cpython/pull/130460/files/7ca2af987010373371d1a7b0a94667c9b9474b72
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16414001242
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Feb 22, 2025 https://github.com/python/cpython/pull/130460#pullrequestreview-2635004224
View reviewed changes https://github.com/python/cpython/pull/130460/files/7ca2af987010373371d1a7b0a94667c9b9474b72
https://github.com/Daraan
Merge branch 'main' into TypedDictWith__total__https://github.com/python/cpython/pull/130460/commits/7ca2af987010373371d1a7b0a94667c9b9474b72
7ca2af9https://github.com/python/cpython/pull/130460/commits/7ca2af987010373371d1a7b0a94667c9b9474b72
Daraanhttps://github.com/Daraan
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-commit-5baef32
https://github.com/Daraan
backport ofhttps://github.com/Daraan/typing_extensions/commit/5baef32af5f73d5ad3fc5d446fdb524d61d29357
python/cpython#130460https://github.com/python/cpython/pull/130460
5baef32https://github.com/Daraan/typing_extensions/commit/5baef32af5f73d5ad3fc5d446fdb524d61d29357
Daraanhttps://github.com/Daraan
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-commit-0c9ef48
https://github.com/Daraan
backport ofhttps://github.com/Daraan/typing_extensions/commit/0c9ef48cf0fe11e75b7dd3055a0d2dcfb9b8f704
python/cpython#130460https://github.com/python/cpython/pull/130460
0c9ef48https://github.com/Daraan/typing_extensions/commit/0c9ef48cf0fe11e75b7dd3055a0d2dcfb9b8f704
https://github.com/Daraan
Daraanhttps://github.com/Daraan
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-pullrequest-2871037503
Remove unnecessary hasattr check from TypedDict python/typing_extensions#533 https://github.com/python/typing_extensions/pull/533
Daraanhttps://github.com/Daraan
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-commit-e2abebf
https://github.com/Daraan
backport ofhttps://github.com/Daraan/typing_extensions/commit/e2abebf6e45a4f114a181d61252dc4a3622e71ce
python/cpython#130460https://github.com/python/cpython/pull/130460
e2abebfhttps://github.com/Daraan/typing_extensions/commit/e2abebf6e45a4f114a181d61252dc4a3622e71ce
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
d8ce092https://github.com/python/cpython/commit/d8ce092fe4e98fec414f4e60cfc958b3ac3ec9a3
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16414522810
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Feb 22, 2025https://github.com/python/cpython/pull/130460#issuecomment-2676320253
@Daraanhttps://github.com/Daraan
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/130460
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
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16414522937
miss-islingtonhttps://github.com/miss-islington
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-commit-78b0da8
https://github.com/Daraan
https://github.com/miss-islington
Add test checking value of a TypedDict's __total__ attribute when the…https://github.com/miss-islington/cpython/commit/78b0da82b8cfc973c49ff6a4e67ad8f1790aec57
78b0da8https://github.com/miss-islington/cpython/commit/78b0da82b8cfc973c49ff6a4e67ad8f1790aec57
pythonGH-130460https://github.com/python/cpython/pull/130460
pythonGH-109544https://github.com/python/cpython/pull/109544
d8ce092https://github.com/miss-islington/cpython/commit/d8ce092fe4e98fec414f4e60cfc958b3ac3ec9a3
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 22, 2025https://github.com/python/cpython/pull/130460#issuecomment-2676320312
GH-130462https://github.com/python/cpython/pull/130462
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Feb 22, 2025https://github.com/python/cpython/pull/130460#event-16414524468
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 22, 2025 https://github.com/python/cpython/pull/130460#ref-commit-6abec03
https://github.com/miss-islington
https://github.com/Daraan
[3.13] Add test checking value of a TypedDict's __total__ attribute w…https://github.com/python/cpython/commit/6abec03aeff0a52d12780000923af0cee5ef1b6c
6abec03https://github.com/python/cpython/commit/6abec03aeff0a52d12780000923af0cee5ef1b6c
GH-130460https://github.com/python/cpython/pull/130460
#130462https://github.com/python/cpython/pull/130462
GH-130460https://github.com/python/cpython/pull/130460
GH-109544https://github.com/python/cpython/pull/109544
d8ce092https://github.com/python/cpython/commit/d8ce092fe4e98fec414f4e60cfc958b3ac3ec9a3
https://github.com/Daraan
Daraanhttps://github.com/Daraan
February 22, 2025 18:36https://github.com/python/cpython/pull/130460#event-16414968086
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%2F130460
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/130460/files/7ca2af987010373371d1a7b0a94667c9b9474b72
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/130460/files/7ca2af987010373371d1a7b0a94667c9b9474b72
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
skip issue https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20issue%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/130460
https://github.com/Daraan
https://github.com/JelleZijlstra
https://github.com/picnixz
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.