Title: Expose dict view types in ``types`` · Issue #132760 · python/cpython · GitHub
Open Graph Title: Expose dict view types in ``types`` · Issue #132760 · python/cpython
X Title: Expose dict view types in ``types`` · Issue #132760 · python/cpython
Description: Feature or enhancement Proposal: Expose the items, keys, and values types in the types module. See dictionary view objects. These correspond to the ItemsView, KeysView, and MappingView view types in collections.abc. Has this already been...
Open Graph Description: Feature or enhancement Proposal: Expose the items, keys, and values types in the types module. See dictionary view objects. These correspond to the ItemsView, KeysView, and MappingView view types i...
X Description: Feature or enhancement Proposal: Expose the items, keys, and values types in the types module. See dictionary view objects. These correspond to the ItemsView, KeysView, and MappingView view types i...
Opengraph URL: https://github.com/python/cpython/issues/132760
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expose dict view types in ``types``","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nExpose the items, keys, and values types in the `types` module. See [dictionary view objects](https://docs.python.org/dev/library/stdtypes.html#dictionary-view-objects). These correspond to the [ItemsView](https://docs.python.org/dev/library/collections.abc.html#collections.abc.ItemsView), [KeysView](https://docs.python.org/dev/library/collections.abc.html#collections.abc.ItemsView), and [MappingView](https://docs.python.org/dev/library/collections.abc.html#collections.abc.ItemsView) [view types](https://docs.python.org/dev/glossary.html#term-dictionary-view) in [`collections.abc`](https://docs.python.org/dev/library/collections.abc.html).\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n* #30629\n* #30630\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-132761\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/AA-Turner","@type":"Person","name":"AA-Turner"},"datePublished":"2025-04-20T22:59:50Z","url":"https://github.com/python/cpython/issues/132760"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4466495-9c6d-8481-72c8-c43094e5aeb6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEAC:137B3:1AE0F98:23779F7:6B003179 |
| html-safe-nonce | 47a13157625a286f5a4f6986b7e6a61c3c7418c24168c86113aab2ca40b3ea4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFDOjEzN0IzOjFBRTBGOTg6MjM3NzlGNzo2QjAwMzE3OSIsInZpc2l0b3JfaWQiOiIyNzE2NDE3NzQyNDk1Mjk3OTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5960f75f7c13b38309f305a51e7b7a09178b8d4e61e3a50b06bbde2be51da820 |
| hovercard-subject-tag | issue:3007276751 |
| github-keyboard-shortcuts | repository,issues,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/issues/show/python/cpython/132760/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b02f90dd4a2598ad7a347a4065736a8d308731ebe916a8cd6e29c5b571ba36f/python/cpython/issues/132760 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b02f90dd4a2598ad7a347a4065736a8d308731ebe916a8cd6e29c5b571ba36f/python/cpython/issues/132760 |
| og:image:alt | Feature or enhancement Proposal: Expose the items, keys, and values types in the types module. See dictionary view objects. These correspond to the ItemsView, KeysView, and MappingView view types i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AA-Turner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width