Title: gh-104683: Argument clinic: use `dict` over `OrderedDict` by AlexWaygood · Pull Request #104647 · python/cpython · GitHub
Open Graph Title: gh-104683: Argument clinic: use `dict` over `OrderedDict` by AlexWaygood · Pull Request #104647 · python/cpython
X Title: gh-104683: Argument clinic: use `dict` over `OrderedDict` by AlexWaygood · Pull Request #104647 · python/cpython
Description: Instances of builtins.dict have been ordered since 3.6, and have been guaranteed by the language to be ordered since Python 3.7. Since Argument Clinic requires Python 3.10+, we can replace usages of OrderedDict with dict. This is less verbose, more readable, and might be slightly more performant. (OrderedDicts have a few features that dicts don't have, but we don't use any of those features in Argument Clinic.) Issue: gh-104683
Open Graph Description: Instances of builtins.dict have been ordered since 3.6, and have been guaranteed by the language to be ordered since Python 3.7. Since Argument Clinic requires Python 3.10+, we can replace usages o...
X Description: Instances of builtins.dict have been ordered since 3.6, and have been guaranteed by the language to be ordered since Python 3.7. Since Argument Clinic requires Python 3.10+, we can replace usages o...
Opengraph URL: https://github.com/python/cpython/pull/104647
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ce6d1024-20e6-bae6-05cc-02835e26833f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D032:21E6C4:F2C68E:153004B:696A3E8A |
| html-safe-nonce | a259fe362774d4ae4de38a8768dc85fafc8ba3f174ab2916ced8780c187c67e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDMyOjIxRTZDNDpGMkM2OEU6MTUzMDA0Qjo2OTZBM0U4QSIsInZpc2l0b3JfaWQiOiI2NzEzMzc1NjgzMjA4OTUzNDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5eabc7dde85051ac69a438f293ef5f1b9a61d365e27af4c8b1e21ad32cf18d99 |
| hovercard-subject-tag | pull_request:1357005018 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python/cpython/pull/104647/checks |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | Instances of builtins.dict have been ordered since 3.6, and have been guaranteed by the language to be ordered since Python 3.7. Since Argument Clinic requires Python 3.10+, we can replace usages o... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 321736bfdb3f591415ae895a0459bec204b26a76caf47ba5c980634cfacc4538 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 13581a31d51edf4a3aca179e10890a4d4f9b6d76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width