| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:57b7cfc3-f22b-7303-7075-f3a419f2c17c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E08:1DA187:D4D628:107BE40:6AFF7B17 |
| html-safe-nonce | cca05b902c15cedfbb871122b67c416d1047b3ac9c393c843b689d3e61449d95 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTA4OjFEQTE4NzpENEQ2Mjg6MTA3QkU0MDo2QUZGN0IxNyIsInZpc2l0b3JfaWQiOiIxOTcwMDM0NDQzMTQ1OTM1NjM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5177a52e45c49559016c833899fa6c6fc7823715c9b062b19ff145717b87f7be |
| hovercard-subject-tag | pull_request:3912061004 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typing/2312/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bc802871254b3ccfd5d098a305c1c7f6a0523ee3da0d91cbdea3f08c4a325d5c/python/typing/pull/2312 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc802871254b3ccfd5d098a305c1c7f6a0523ee3da0d91cbdea3f08c4a325d5c/python/typing/pull/2312 |
| og:image:alt | Summary
Fixes #2054.
The spec's .get() exception bullet only specified the return type for the variable-key case ("cannot be determined statically"), leaving two cases undefined:
d.g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ashishpatel26 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5a2047dbbde77e0ba2f8dfd78621e8a7313a105f7437ca693fcccd16cd137ee |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83e3dfa4de364d61589204ed35e53b2b7f77fba2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typing/pull/2312#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2312 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2312 |
| 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%2Ftyping |
| Reload | https://github.com/python/typing/pull/2312 |
| Reload | https://github.com/python/typing/pull/2312 |
| Reload | https://github.com/python/typing/pull/2312 |
| python | https://github.com/python |
| typing | https://github.com/python/typing |
| Code | https://github.com/python/typing |
| Issues206 (206) | https://github.com/python/typing/issues |
| Pull requests27 (27) | https://github.com/python/typing/pulls |
| Discussions | https://github.com/python/typing/discussions |
| Actions | https://github.com/python/typing/actions |
| Security and quality | https://github.com/python/typing/security |
| Insights | https://github.com/python/typing/insights |
| https://github.com/python/typing |
| ashishpatel26 | https://github.com/ashishpatel26 |
| python:main | https://github.com/python/typing/tree/main |
| ashishpatel26:fix/2054-typeddict-get-unknown-literal-key | https://github.com/ashishpatel26/typing/tree/fix/2054-typeddict-get-unknown-literal-key |
| Conversation | https://github.com/python/typing/pull/2312 |
| Commits2 (2) | https://github.com/python/typing/pull/2312/commits |
| Checks | https://github.com/python/typing/pull/2312/checks |
| Files changed | https://github.com/python/typing/pull/2312/files |
| typeddict: clarify that .get() with an unknown literal key is not an error | https://github.com/python/typing/pull/2312#top |
| ashishpatel26 | https://github.com/ashishpatel26 |
| python:main | https://github.com/python/typing/tree/main |
| ashishpatel26:fix/2054-typeddict-get-unknown-literal-key | https://github.com/ashishpatel26/typing/tree/fix/2054-typeddict-get-unknown-literal-key |
|
| https://github.com/ashishpatel26 |
| ashishpatel26 | https://github.com/ashishpatel26 |
| Jun 22, 2026 | https://github.com/python/typing/pull/2312#issue-4716809764 |
| #2054 | https://github.com/python/typing/issues/2054 |
| Please reload this page | https://github.com/python/typing/pull/2312 |
|
| https://github.com/ashishpatel26 |
| typeddict: clarify that .get() with an unknown literal key is not an … | https://github.com/python/typing/pull/2312/commits/9aee8237ded632b1353d5334c45b7798b551b149 |
| 9aee823 | https://github.com/python/typing/pull/2312/commits/9aee8237ded632b1353d5334c45b7798b551b149 |
| python#2054 | https://github.com/python/typing/issues/2054 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
|
topic: typing spec
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20typing%20spec%22 |
| Jun 22, 2026 | https://github.com/python/typing/pull/2312#event-27043365468 |
|
| https://github.com/ashishpatel26 |
| conformance: fix zuban line number and update results.html for pycros… | https://github.com/python/typing/pull/2312/commits/6313c8e246f2903d6a236465a78b32c08e38c74f |
| 6313c8e | https://github.com/python/typing/pull/2312/commits/6313c8e246f2903d6a236465a78b32c08e38c74f |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Jun 23, 2026
| https://github.com/python/typing/pull/2312#pullrequestreview-4549671333 |
|
View reviewed changes
| https://github.com/python/typing/pull/2312/files/6313c8e246f2903d6a236465a78b32c08e38c74f |
| docs/spec/typeddict.rst | https://github.com/python/typing/pull/2312/files/6313c8e246f2903d6a236465a78b32c08e38c74f#diff-05d56dd2f568ccc8996da1f59f49597cd19cdb018ecebd8d2542d24326572ab2 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Jun 23, 2026 | https://github.com/python/typing/pull/2312#discussion_r3456744048 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2312 |
| docs/spec/typeddict.rst | https://github.com/python/typing/pull/2312/files/6313c8e246f2903d6a236465a78b32c08e38c74f#diff-05d56dd2f568ccc8996da1f59f49597cd19cdb018ecebd8d2542d24326572ab2 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Jun 23, 2026 | https://github.com/python/typing/pull/2312#discussion_r3456747838 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing/pull/2312 |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2312 |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/python/typing/pull/2312/files/6313c8e246f2903d6a236465a78b32c08e38c74f |
| Please reload this page | https://github.com/python/typing/pull/2312 |
|
topic: typing spec
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20typing%20spec%22 |
|
Discrepancy between spec and tests on indexing TypedDicts with unknown literal keys
| https://github.com/python/typing/issues/2054 |
| Please reload this page | https://github.com/python/typing/pull/2312 |
|
| https://github.com/ashishpatel26 |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/srittau |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |