Commit 2a48841
chore(python): pre-merge simplifier pass — FR5a polish
- errors.py: unquote `Optional[ErrorSource]` annotation (redundant under
`from __future__ import annotations`; matches sibling annotations in
this file).
- error_source.py: unquote `ClassVar[CodeSource]` self-reference (same
reason) and trim the verbose multi-line forward-declaration comment
to a single-line WHY note.
Conservative diff: two annotation cleanups + one comment trim. No
behavior change; 496/496 Python tests stay green. Lazy import in
semantic_diff was verified necessary (eager import reproduces the
circular-import ImportError) and left as-is.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 78ff0b8 commit 2a48841
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
156 | 154 | | |
157 | 155 | | |
158 | 156 | | |
| |||
0 commit comments