Title: [3.14] gh-137226: Fix get_type_hints() on generic TypedDict with stringified annotations (GH-138953) by JelleZijlstra · Pull Request #138989 · python/cpython · GitHub
Open Graph Title: [3.14] gh-137226: Fix get_type_hints() on generic TypedDict with stringified annotations (GH-138953) by JelleZijlstra · Pull Request #138989 · python/cpython
X Title: [3.14] gh-137226: Fix get_type_hints() on generic TypedDict with stringified annotations (GH-138953) by JelleZijlstra · Pull Request #138989 · python/cpython
Description: This issue appears specifically for TypedDicts because the TypedDict constructor code converts string annotations to ForwardRef objects, and those are not evaluated properly by the get_type_hints()...
Open Graph Description: This issue appears specifically for TypedDicts because the TypedDict constructor code converts string annotations to ForwardRef objects, and those are not evaluated properly by the get_type_hints()...
X Description: This issue appears specifically for TypedDicts because the TypedDict constructor code converts string annotations to ForwardRef objects, and those are not evaluated properly by the get_type_hints()...
Opengraph URL: https://github.com/python/cpython/pull/138989
X: @github
Domain: github.com
| 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:f8a73ffb-087f-3362-d7ba-d7b6acef079d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E52C:2A6D10:14C96C8:1AD3CE9:696B1DB7 |
| html-safe-nonce | 93a8fd860e821910d9af214e8454e31c56227b53e009d074ff11eaf1055e8af0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTJDOjJBNkQxMDoxNEM5NkM4OjFBRDNDRTk6Njk2QjFEQjciLCJ2aXNpdG9yX2lkIjoiNDMwMzM3NTc5MTQ2NzIwODExOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a8c8377593bd48c9c91aded88d5c40928fb897638c85126ea905def38fe4fee |
| hovercard-subject-tag | pull_request:2833322782 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/138989/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ca533481c70af21b79c68a345bc0f68ddb1366823f195d2cab14477c1f415a8a/python/cpython/pull/138989 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca533481c70af21b79c68a345bc0f68ddb1366823f195d2cab14477c1f415a8a/python/cpython/pull/138989 |
| og:image:alt | This issue appears specifically for TypedDicts because the TypedDict constructor code converts string annotations to ForwardRef objects, and those are not evaluated properly by the get_type_hints()... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width