Files
RustPython/crates
Jeong, YunWon f090ae3237 Rewrite _tokenize with 2-phase model
Replace per-line reparsing with single-pass tokenization:
- Read all lines via readline, parse once, yield tokens
- Fix token type values (COMMENT=65, NL=66, OP=55)
- Fix NEWLINE/NL end positions and implicit newline handling
- Fix DEDENT positions via look-ahead to next non-DEDENT token
- Handle FSTRING_MIDDLE brace unescaping ({{ → {, }} → })
- Emit implicit NL before ENDMARKER when source lacks trailing newline
- Raise IndentationError from lexer errors
- Remove 13 expectedFailure marks for now-passing tests
2026-03-10 11:28:16 +09:00
..
2026-03-08 18:06:23 +09:00
2026-01-02 13:14:39 +09:00
2026-02-03 18:55:59 +09:00
2026-03-09 11:47:24 +09:00
2026-01-17 19:21:10 +09:00