ruff/crates/ruff_python_parser/src/parser
Brent Westbrook e924ecbdac
[syntax-errors] except* before Python 3.11 (#16446)
Summary
--

One of the simpler ones, just detect the use of `except*` before 3.11.

Test Plan
--

New inline tests.
2025-03-02 18:20:18 +00:00
..
snapshots Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
expression.rs [syntax-errors] except* before Python 3.11 (#16446) 2025-03-02 18:20:18 +00:00
helpers.rs Refactor binary expression parsing (#11073) 2024-04-23 04:42:40 +00:00
mod.rs [syntax-errors] except* before Python 3.11 (#16446) 2025-03-02 18:20:18 +00:00
options.rs Start detecting version-related syntax errors in the parser (#16090) 2025-02-25 23:03:48 -05:00
pattern.rs Upgrade Rust toolchain to 1.83 (#14677) 2024-11-29 12:05:05 +00:00
progress.rs
recovery.rs Use CompactString for Identifier (#12101) 2024-07-01 10:06:02 +02:00
statement.rs [syntax-errors] except* before Python 3.11 (#16446) 2025-03-02 18:20:18 +00:00
tests.rs Pass ParserOptions to the parser (#16220) 2025-02-19 10:50:50 -05:00