| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:45af6b26-f669-eecf-c122-ab4f6e265a2c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C4CA:197722:90711A:CDBDF5:6A631071 |
| html-safe-nonce | 105350d7b80454b45fc90b82b1d74d8946def411b1a370ef5b6ee8da68a83527 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNENBOjE5NzcyMjo5MDcxMUE6Q0RCREY1OjZBNjMxMDcxIiwidmlzaXRvcl9pZCI6IjQ0MjQ3NDgxMjY5OTk2MTM1NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e1e0be743938c18b9acdbf20b01b961d2ff5089f770c4a290e0664c2250fd3b8 |
| hovercard-subject-tag | pull_request:4108404848 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/8348/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/a3f30b231692351002979680dfdda4b4683081d00a552c67c04bdc0887d2002d/RustPython/RustPython/pull/8348 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3f30b231692351002979680dfdda4b4683081d00a552c67c04bdc0887d2002d/RustPython/RustPython/pull/8348 |
| og:image:alt | Part of #8345
This PR follows our AI policy
Summary
SyntaxError's members were stored as None class-attribute placeholders plus per-instance __dict__ entries, so SyntaxError('m').__d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devyubin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://Github.com/RustPython/RustPython/pull/8348#start-of-content |
|
| https://Github.com/ |
|
Sign in
| https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8348 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8348 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://Github.com/RustPython/RustPython/pull/8348 |
| Reload | https://Github.com/RustPython/RustPython/pull/8348 |
| Reload | https://Github.com/RustPython/RustPython/pull/8348 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
|
RustPython
| https://Github.com/RustPython |
| RustPython | https://Github.com/RustPython/RustPython |
|
Notifications
| https://Github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.5k
| https://Github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
22.2k
| https://Github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://Github.com/RustPython/RustPython |
|
Issues
294
| https://Github.com/RustPython/RustPython/issues |
|
Pull requests
105
| 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 |
|
Models
| https://Github.com/RustPython/RustPython/models |
|
Wiki
| https://Github.com/RustPython/RustPython/wiki |
|
Security and quality
0
| https://Github.com/RustPython/RustPython/security |
|
Insights
| https://Github.com/RustPython/RustPython/pulse |
|
Code
| https://Github.com/RustPython/RustPython |
|
Issues
| https://Github.com/RustPython/RustPython/issues |
|
Pull requests
| 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 |
|
Models
| https://Github.com/RustPython/RustPython/models |
|
Wiki
| https://Github.com/RustPython/RustPython/wiki |
|
Security and quality
| https://Github.com/RustPython/RustPython/security |
|
Insights
| https://Github.com/RustPython/RustPython/pulse |
| devyubin | https://Github.com/devyubin |
| RustPython:main | https://Github.com/RustPython/RustPython/tree/main |
| devyubin:syntax-error-struct-fields | https://Github.com/devyubin/RustPython/tree/syntax-error-struct-fields |
| Conversation | https://Github.com/RustPython/RustPython/pull/8348 |
| Commits2 (2) | https://Github.com/RustPython/RustPython/pull/8348/commits |
| Checks | https://Github.com/RustPython/RustPython/pull/8348/checks |
| Files changed | https://Github.com/RustPython/RustPython/pull/8348/files |
| Store SyntaxError members in struct fields instead of the instance dict | https://Github.com/RustPython/RustPython/pull/8348#top |
| devyubin | https://Github.com/devyubin |
| RustPython:main | https://Github.com/RustPython/RustPython/tree/main |
| devyubin:syntax-error-struct-fields | https://Github.com/devyubin/RustPython/tree/syntax-error-struct-fields |
|
| https://Github.com/devyubin |
| devyubin | https://Github.com/devyubin |
| Jul 22, 2026 | https://Github.com/RustPython/RustPython/pull/8348#issue-4949266115 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| #8345 | https://github.com/RustPython/RustPython/issues/8345 |
| AI policy | https://github.com/RustPython/.github/blob/main/AI_POLICY.md |
| #8282 | https://github.com/RustPython/RustPython/pull/8282 |
| #8301 | https://github.com/RustPython/RustPython/pull/8301 |
| Store StopIteration.value in a struct field instead of the instance dict #8301 | https://github.com/RustPython/RustPython/pull/8301 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://Github.com/apps/coderabbitai |
| coderabbitai | https://Github.com/apps/coderabbitai |
| Jul 22, 2026 | https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5046206766 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/8348?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack |
| 172292a | https://github.com/RustPython/RustPython/commit/172292a4178fe6a08419791bfaa20f6629f4b8d8 |
| c0fccaa | https://github.com/RustPython/RustPython/commit/c0fccaa91cfe56441781164c762ac60d540b4da7 |
| RustPython/RustPython#7015 | https://github.com/RustPython/RustPython/pull/7015 |
| RustPython/RustPython#7928 | https://github.com/RustPython/RustPython/pull/7928 |
| RustPython/RustPython#8327 | https://github.com/RustPython/RustPython/pull/8327 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=8348 |
| X | https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai |
| Mastodon | https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai |
| Reddit | https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai |
| LinkedIn | https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://Github.com/apps/github-actions |
| github-actions | https://Github.com/apps/github-actions |
| Jul 22, 2026 | https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5046214383 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://Github.com/devyubin |
| devyubin | https://Github.com/devyubin |
| force-pushed | https://Github.com/RustPython/RustPython/compare/a54041920d5d616a6a109b99a3ea94265d0c0716..cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a |
| a540419 | https://Github.com/RustPython/RustPython/commit/a54041920d5d616a6a109b99a3ea94265d0c0716 |
| cca42e7 | https://Github.com/RustPython/RustPython/commit/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a |
|
Compare
| https://Github.com/RustPython/RustPython/compare/a54041920d5d616a6a109b99a3ea94265d0c0716..cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a |
| July 22, 2026 13:18 | https://Github.com/RustPython/RustPython/pull/8348#event-28327679544 |
| https://Github.com/apps/coderabbitai |
| coderabbitai | https://Github.com/apps/coderabbitai |
|
Jul 22, 2026
| https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4754737559 |
|
View reviewed changes
| https://Github.com/RustPython/RustPython/pull/8348/files |
| coderabbitai | https://Github.com/apps/coderabbitai |
| https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4754737559 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| dd9bce5 | https://github.com/RustPython/RustPython/commit/dd9bce501ccec8d2a269a3982b563134a20b242c |
| a540419 | https://github.com/RustPython/RustPython/commit/a54041920d5d616a6a109b99a3ea94265d0c0716 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| crates/vm/src/exceptions.rs | https://Github.com/RustPython/RustPython/pull/8348/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://Github.com/kangdora |
| kangdora | https://Github.com/kangdora |
| Jul 22, 2026 | https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5049605770 |
| #8345 | https://github.com/RustPython/RustPython/issues/8345 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
|
| https://Github.com/devyubin |
| Store SyntaxError members in struct fields instead of class attributes | https://Github.com/RustPython/RustPython/pull/8348/commits/172292a4178fe6a08419791bfaa20f6629f4b8d8 |
| 172292a | https://Github.com/RustPython/RustPython/pull/8348/commits/172292a4178fe6a08419791bfaa20f6629f4b8d8 |
| https://Github.com/devyubin |
| devyubin | https://Github.com/devyubin |
| force-pushed | https://Github.com/RustPython/RustPython/compare/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a..172292a4178fe6a08419791bfaa20f6629f4b8d8 |
| cca42e7 | https://Github.com/RustPython/RustPython/commit/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a |
| 172292a | https://Github.com/RustPython/RustPython/commit/172292a4178fe6a08419791bfaa20f6629f4b8d8 |
|
Compare
| https://Github.com/RustPython/RustPython/compare/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a..172292a4178fe6a08419791bfaa20f6629f4b8d8 |
| July 22, 2026 23:55 | https://Github.com/RustPython/RustPython/pull/8348#event-28355392971 |
|
| https://Github.com/devyubin |
| Coerce SyntaxError location argument from any sequence | https://Github.com/RustPython/RustPython/pull/8348/commits/c0fccaa91cfe56441781164c762ac60d540b4da7 |
| c0fccaa | https://Github.com/RustPython/RustPython/pull/8348/commits/c0fccaa91cfe56441781164c762ac60d540b4da7 |
| https://Github.com/youknowone |
| youknowone | https://Github.com/youknowone |
| Jul 23, 2026 | https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5061474536 |
| @kangdora | https://github.com/kangdora |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://Github.com/kangdora |
| kangdora | https://Github.com/kangdora |
|
Jul 24, 2026
| https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4770327603 |
|
View reviewed changes
| https://Github.com/RustPython/RustPython/pull/8348/files/c0fccaa91cfe56441781164c762ac60d540b4da7 |
| kangdora | https://Github.com/kangdora |
| https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4770327603 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #8345 | https://github.com/RustPython/RustPython/issues/8345 |
| @youknowone | https://github.com/youknowone |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| crates/vm/src/exceptions.rs | https://Github.com/RustPython/RustPython/pull/8348/files/c0fccaa91cfe56441781164c762ac60d540b4da7#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747 |
| kangdora | https://Github.com/kangdora |
| Jul 24, 2026 | https://Github.com/RustPython/RustPython/pull/8348#discussion_r3643087679 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
| https://github.co/hiddenchars |
| https://Github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
| Sign up for free | https://Github.com/join?source=comment-repo |
| Sign in to comment | https://Github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8348 |
|
| https://Github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://Github.com/apps/coderabbitai |
|
| https://Github.com/RustPython/RustPython/pull/8348/files/a54041920d5d616a6a109b99a3ea94265d0c0716 |
|
| https://Github.com/kangdora |
|
kangdora
| https://Github.com/kangdora |
|
| https://Github.com/RustPython/RustPython/pull/8348/files/c0fccaa91cfe56441781164c762ac60d540b4da7 |
| Please reload this page | https://Github.com/RustPython/RustPython/pull/8348 |
|
| https://Github.com/devyubin |
|
| https://Github.com/kangdora |
|
| https://Github.com/youknowone |
|
| 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 |