Files
RustPython/crates
이광효 55b3d681ef ast: match CPython argument validation order (#8414)
Validate parameter annotations while converting ast.arguments, before
merging positional and keyword-only defaults. This gives invalid annotation
contexts precedence over default-list shape errors, as in CPython.

Merge positional defaults before keyword-only defaults so an excess
positional-default error also takes precedence over a keyword-only default
length mismatch.

Remove the expected-failure markers from the FunctionDef and Lambda AST
validator tests that now pass.

Assisted-by: Codex:gpt-5.6-sol
2026-07-30 22:12:02 +09:00
..
2026-03-31 21:05:08 +09:00
2026-07-12 12:35:00 +00:00
2026-06-30 23:40:29 +09:00
2026-03-31 21:05:08 +09:00
2026-07-19 14:13:47 +09:00