Skip to content

Syntaxerror whole line#217

Merged
seddonym merged 2 commits intomasterfrom
syntaxerror-whole-line
May 5, 2025
Merged

Syntaxerror whole line#217
seddonym merged 2 commits intomasterfrom
syntaxerror-whole-line

Conversation

@seddonym
Copy link
Collaborator

@seddonym seddonym commented May 5, 2025

Includes the whole line in the SourceSyntaxError (following on from #214 (comment)).

While we're at it, removes an unnecessary step relating to line contents when parsing the imports.

seddonym added 2 commits May 5, 2025 13:06
The two-step approach is not necessary - we can get the full line
contents while visiting the tree.
@seddonym seddonym force-pushed the syntaxerror-whole-line branch from 4c7f32d to 89358ad Compare May 5, 2025 12:08
@codspeed-hq
Copy link

codspeed-hq bot commented May 5, 2025

CodSpeed Instrumentation Performance Report

Merging #217 will not alter performance

Comparing syntaxerror-whole-line (89358ad) with master (8f50d9c)

Summary

✅ 22 untouched benchmarks

@seddonym seddonym marked this pull request as ready for review May 5, 2025 12:25
@seddonym seddonym merged commit e0c2c21 into master May 5, 2025
18 checks passed
@seddonym seddonym deleted the syntaxerror-whole-line branch May 5, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants