| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:21a9dd27-3306-a3ea-f93c-82e300698311 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93C2:44D65:6E0F20:93461C:6B0039B9 |
| html-safe-nonce | 3f8da795162fd54764eee6709c4ab90db90af93abdb2600b51b7bd75e3a7a551 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0MyOjQ0RDY1OjZFMEYyMDo5MzQ2MUM6NkIwMDM5QjkiLCJ2aXNpdG9yX2lkIjoiMTQ4MDQ0NTk3NTcwNDEyMzgzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e977ddd5a41d8238b409eb165a3c30167f1b54953c78a03b4c7e020333bf294 |
| hovercard-subject-tag | pull_request:4186567382 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8429/files |
| twitter:image | https://avatars.githubusercontent.com/u/62554639?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/62554639?s=400&v=4 |
| og:image:alt | Summary
Fix CPython compatibility for EOF-related SyntaxError diagnostics and remove the five expectedFailure markers from test_eof.py
This aligns RustPython with CPython for:
Unterminated triple-... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/8429/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8429%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8429%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/8429/files |
| Reload | https://github.com/RustPython/RustPython/pull/8429/files |
| Reload | https://github.com/RustPython/RustPython/pull/8429/files |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests144 (144) | https://github.com/RustPython/RustPython/pulls |
| Discussions | https://github.com/RustPython/RustPython/discussions |
| Actions | https://github.com/RustPython/RustPython/actions |
| Projects | https://github.com/RustPython/RustPython/projects |
| Wiki | https://github.com/RustPython/RustPython/wiki |
| Security and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| chestnut1717:fix/eof-syntax-errors | https://github.com/chestnut1717/RustPython/tree/fix/eof-syntax-errors |
|
Conversation
17
| https://github.com/RustPython/RustPython/pull/8429 |
|
Commits
4
| https://github.com/RustPython/RustPython/pull/8429/commits |
|
Checks
27
| https://github.com/RustPython/RustPython/pull/8429/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/8429/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
Fix EOF SyntaxError diagnostics
| https://github.com/RustPython/RustPython/pull/8429/files#top |
|
Show all changes
4 commits
| https://github.com/RustPython/RustPython/pull/8429/files |
|
2812159
Fix EOF SyntaxError diagnostics
chestnut1717 Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8429/commits/2812159af06c6d0dd9758f78d2d6483517dab4ef |
|
9abc5be
Fix Scope EOF SyntaxError location conversion
chestnut1717 Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8429/commits/9abc5be518e7e56ecaa52bdcf6dbe8ff4a0cbff3 |
|
e5a1ad1
Fix Additional Unexpected Test
chestnut1717 Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8429/commits/e5a1ad120cab739edb40f8803508e5f4a45f2457 |
|
e47a40a
Docs Add Annotation source_location_in_code_points()
chestnut1717 Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8429/commits/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1 |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/8429/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
test_eof.py
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
test_exceptions.py
| https://github.com/RustPython/RustPython/pull/8429/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f |
|
test_tokenize.py
| https://github.com/RustPython/RustPython/pull/8429/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
exceptions.rs
| https://github.com/RustPython/RustPython/pull/8429/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
sys.rs
| https://github.com/RustPython/RustPython/pull/8429/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d |
|
python_run.rs
| https://github.com/RustPython/RustPython/pull/8429/files#diff-ff5741056db5c8cfe1e330b23fb0ff523b4c9dcd7c4d86e3383d6abdba80713c |
|
vm_new.rs
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
| Lib/test/test_eof.py | https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/Lib/test/test_eof.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-da3dd174dafa3f9cec5d76af83f1bdf650bb37c1677acc76674af9c3e31944ec |
| Lib/test/test_exceptions.py | https://github.com/RustPython/RustPython/pull/8429/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/Lib/test/test_exceptions.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-3dbd58a46964dc5908595a1caa552fa3f5e2e46610679634ffc1064fd7cc3c8f |
| Lib/test/test_tokenize.py | https://github.com/RustPython/RustPython/pull/8429/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/Lib/test/test_tokenize.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-b07c4f10c75a22e102f114227a0a9b7b763ddda7a330109994e69b29540ea9bb |
| crates/compiler/src/lib.rs | https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/crates/compiler/src/lib.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-560e1ff98a1fe1161356b6c726aeb89f8c5e9764ccd2f4fb4dfa7143508d09e7 |
| crates/vm/src/exceptions.rs | https://github.com/RustPython/RustPython/pull/8429/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/crates/vm/src/exceptions.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
| crates/vm/src/stdlib/sys.rs | https://github.com/RustPython/RustPython/pull/8429/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/crates/vm/src/stdlib/sys.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d |
| crates/vm/src/vm/python_run.rs | https://github.com/RustPython/RustPython/pull/8429/files#diff-ff5741056db5c8cfe1e330b23fb0ff523b4c9dcd7c4d86e3383d6abdba80713c |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/crates/vm/src/vm/python_run.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-ff5741056db5c8cfe1e330b23fb0ff523b4c9dcd7c4d86e3383d6abdba80713c |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-ff5741056db5c8cfe1e330b23fb0ff523b4c9dcd7c4d86e3383d6abdba80713c |
| crates/vm/src/vm/vm_new.rs | https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
|
View file
| https://github.com/chestnut1717/RustPython/blob/e47a40a77ca48ebc5187e1dd9fe876ce2f4dd0b1/crates/vm/src/vm/vm_new.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8429/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
|
| https://github.com/RustPython/RustPython/pull/8429/files#diff-0ed409205fe13b41775e66f6be22c13146e9aebf1000a069a10b39293f219a7b |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8429/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |