◐ Shell
clean mode source ↗

Fix dict unpacking order and improve error messages by youknowone · Pull Request #7085 · RustPython/RustPython

- 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

@youknowone

coderabbitai[bot]

@youknowone

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
Fix dict unpacking order and improve error messages