Title: format_map over specified · Issue #3824 · python/typeshed · GitHub
Open Graph Title: format_map over specified · Issue #3824 · python/typeshed
X Title: format_map over specified · Issue #3824 · python/typeshed
Description: The definition of format_map indicates that the input is a Mapping[str, Any] when a Mapping is over-specified. format_map only requires the __getitem__ interface of a Mapping (not __iter__ nor __len__). Requiring Mapping forces someone w...
Open Graph Description: The definition of format_map indicates that the input is a Mapping[str, Any] when a Mapping is over-specified. format_map only requires the __getitem__ interface of a Mapping (not __iter__ nor __le...
X Description: The definition of format_map indicates that the input is a Mapping[str, Any] when a Mapping is over-specified. format_map only requires the __getitem__ interface of a Mapping (not __iter__ nor __le...
Opengraph URL: https://github.com/python/typeshed/issues/3824
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"format_map over specified","articleBody":"The [definition of format_map](https://github.com/python/typeshed/blob/92d53086be540c3eb6ead1967b32854689e4e7c3/stdlib/2and3/builtins.pyi#L436) indicates that the input is a `Mapping[str, Any]` when a `Mapping` is over-specified. `format_map` only requires the `__getitem__` interface of a `Mapping` (not `__iter__` nor `__len__`). Requiring `Mapping` forces someone writing an adapter to supply a full `Mapping` implementation for no purpose.","author":{"url":"https://github.com/jaraco","@type":"Person","name":"jaraco"},"datePublished":"2020-03-06T17:36:37Z","url":"https://github.com/python/typeshed/issues/3824"}
| 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:1448e5d5-4b33-f1a3-829d-1414804ad8ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B99C:1A7566:25934B:32B730:6B0023E1 |
| html-safe-nonce | 737d93fc4d766216eea7bc469f827f66745f48c7235be200d4923355cd1d7fe9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTlDOjFBNzU2NjoyNTkzNEI6MzJCNzMwOjZCMDAyM0UxIiwidmlzaXRvcl9pZCI6Ijg3MDc2OTA5Mjc2MjUzNDgwNjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e1953d15e5535e02bbdbdabdbd18cbf120e2e06bc4be46b762042335d6daab13 |
| hovercard-subject-tag | issue:577078271 |
| 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/typeshed/3824/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec6b279f17c77b03a3e703819d4cb498cf3d8bacf98176bd69f695c24730e97b/python/typeshed/issues/3824 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec6b279f17c77b03a3e703819d4cb498cf3d8bacf98176bd69f695c24730e97b/python/typeshed/issues/3824 |
| og:image:alt | The definition of format_map indicates that the input is a Mapping[str, Any] when a Mapping is over-specified. format_map only requires the __getitem__ interface of a Mapping (not __iter__ nor __le... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jaraco |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width