Files
RustPython/Lib/test/test_ast
이광효 3b9c64b151 ast: enforce integer string limits in AST-only parsing (#8454)
Validate decimal integer literals from the parser token stream before
lowering the parsed AST. Reuse the validator for normal compilation and
the `_ast` parsing path so `PyCF_ONLY_AST`, `ast.parse()`, and
`ast.literal_eval()` honor `int_max_str_digits` consistently.

Remove the now-passing `test_literal_eval_str_int_limit` expected-failure
marker. The token-based validator excludes non-decimal integers, floats,
complex literals, strings, and comments without duplicating lexer logic.

Assisted-by: Codex:gpt-5.6-sol
2026-08-05 02:15:27 +09:00
..
2026-02-05 16:20:22 +09:00
2025-07-20 18:37:38 +09:00
2026-02-02 01:20:23 +09:00
2026-02-02 01:20:23 +09:00