Title: Fix dict unpacking order and improve error messages by youknowone · Pull Request #7085 · RustPython/RustPython · GitHub
Open Graph Title: Fix dict unpacking order and improve error messages by youknowone · Pull Request #7085 · RustPython/RustPython
X Title: Fix dict unpacking order and improve error messages by youknowone · Pull Request #7085 · RustPython/RustPython
Description: Rewrite compile_dict to preserve insertion order with ** unpacking Fix function call error messages to include function name and keyword-only argument counts Fix missing keyword-only argument error to list all missing args Fix starred expression error messages to match CPython Fix "cannot unpack non-iterable" error message Remove resolved expected failure markers in test_extcall and test_unpack_ex Summary by CodeRabbit Bug Fixes Unified and clearer error messages for missing, positional and keyword-only arguments. Improved error reporting for dictionary unpacking and starred-argument operations, including contextual function names. Clearer TypeError messages when unpacking encounters non-iterable or non-mapping types; single-star call cases now handle starred values more directly.
Open Graph Description: Rewrite compile_dict to preserve insertion order with ** unpacking Fix function call error messages to include function name and keyword-only argument counts Fix missing keyword-only argument error...
X Description: Rewrite compile_dict to preserve insertion order with ** unpacking Fix function call error messages to include function name and keyword-only argument counts Fix missing keyword-only argument error...
Opengraph URL: https://github.com/RustPython/RustPython/pull/7085
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dae7a6ba-ca61-66bf-2d2d-aa083e7df783 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C312:338491:400D43:532FC1:6A5FF1CE |
| html-safe-nonce | 1728a4cbc35afcd35ce67f34e56e190d81e92008a8870a8f2306a3e007ded9b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzEyOjMzODQ5MTo0MDBENDM6NTMyRkMxOjZBNUZGMUNFIiwidmlzaXRvcl9pZCI6IjIyODI1NzM5NzM0MDUyOTkxNTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 79950dbe1ab9737823e11c23a68a8e993c6a5c06e47a23f60f5ef3502e0d053e |
| hovercard-subject-tag | pull_request:3270644373 |
| 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/RustPython/RustPython/pull/7085/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Rewrite compile_dict to preserve insertion order with ** unpacking Fix function call error messages to include function name and keyword-only argument counts Fix missing keyword-only argument error... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ec26f1a08b78b3d576999ee8b45a2abc017c95dbee903a8019940cd2e9bf7b3d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0a29f0b91ade2368fc0b74327c0f64ec1f98f5ff |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width