René's URL Explorer Experiment


Title: Store SyntaxError members in struct fields instead of the instance dict by devyubin · Pull Request #8348 · RustPython/RustPython · GitHub

Open Graph Title: Store SyntaxError members in struct fields instead of the instance dict by devyubin · Pull Request #8348 · RustPython/RustPython

X Title: Store SyntaxError members in struct fields instead of the instance dict by devyubin · Pull Request #8348 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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&a...

Opengraph URL: https://github.com/RustPython/RustPython/pull/8348

X: @github

direct link

Domain: Github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:45af6b26-f669-eecf-c122-ab4f6e265a2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4CA:197722:90711A:CDBDF5:6A631071
html-safe-nonce105350d7b80454b45fc90b82b1d74d8946def411b1a370ef5b6ee8da68a83527
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNENBOjE5NzcyMjo5MDcxMUE6Q0RCREY1OjZBNjMxMDcxIiwidmlzaXRvcl9pZCI6IjQ0MjQ3NDgxMjY5OTk2MTM1NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace1e0be743938c18b9acdbf20b01b961d2ff5089f770c4a290e0664c2250fd3b8
hovercard-subject-tagpull_request:4108404848
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/8348/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a3f30b231692351002979680dfdda4b4683081d00a552c67c04bdc0887d2002d/RustPython/RustPython/pull/8348
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3f30b231692351002979680dfdda4b4683081d00a552c67c04bdc0887d2002d/RustPython/RustPython/pull/8348
og:image:altPart 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedevyubin
hostnamegithub.com
expected-hostnamegithub.com
None1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a93e25585f487ddff9e3996c06d5b869d6e1828
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://Github.com/RustPython/RustPython/pull/8348
Reloadhttps://Github.com/RustPython/RustPython/pull/8348
Reloadhttps://Github.com/RustPython/RustPython/pull/8348
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
RustPython https://Github.com/RustPython
RustPythonhttps://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
devyubinhttps://Github.com/devyubin
RustPython:mainhttps://Github.com/RustPython/RustPython/tree/main
devyubin:syntax-error-struct-fieldshttps://Github.com/devyubin/RustPython/tree/syntax-error-struct-fields
Conversationhttps://Github.com/RustPython/RustPython/pull/8348
Commits2 (2)https://Github.com/RustPython/RustPython/pull/8348/commits
Checkshttps://Github.com/RustPython/RustPython/pull/8348/checks
Files changedhttps://Github.com/RustPython/RustPython/pull/8348/files
Store SyntaxError members in struct fields instead of the instance dicthttps://Github.com/RustPython/RustPython/pull/8348#top
devyubinhttps://Github.com/devyubin
RustPython:mainhttps://Github.com/RustPython/RustPython/tree/main
devyubin:syntax-error-struct-fieldshttps://Github.com/devyubin/RustPython/tree/syntax-error-struct-fields
https://Github.com/devyubin
devyubinhttps://Github.com/devyubin
Jul 22, 2026https://Github.com/RustPython/RustPython/pull/8348#issue-4949266115
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
#8345https://github.com/RustPython/RustPython/issues/8345
AI policyhttps://github.com/RustPython/.github/blob/main/AI_POLICY.md
#8282https://github.com/RustPython/RustPython/pull/8282
#8301https://github.com/RustPython/RustPython/pull/8301
Store StopIteration.value in a struct field instead of the instance dict #8301https://github.com/RustPython/RustPython/pull/8301
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/apps/coderabbitai
coderabbitaihttps://Github.com/apps/coderabbitai
Jul 22, 2026https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5046206766
Please reload this pagehttps://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
172292ahttps://github.com/RustPython/RustPython/commit/172292a4178fe6a08419791bfaa20f6629f4b8d8
c0fccaahttps://github.com/RustPython/RustPython/commit/c0fccaa91cfe56441781164c762ac60d540b4da7
RustPython/RustPython#7015https://github.com/RustPython/RustPython/pull/7015
RustPython/RustPython#7928https://github.com/RustPython/RustPython/pull/7928
RustPython/RustPython#8327https://github.com/RustPython/RustPython/pull/8327
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=8348
Xhttps://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
Mastodonhttps://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
Reddithttps://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
LinkedInhttps://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 pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/apps/github-actions
github-actionshttps://Github.com/apps/github-actions
Jul 22, 2026https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5046214383
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/devyubin
devyubinhttps://Github.com/devyubin
force-pushedhttps://Github.com/RustPython/RustPython/compare/a54041920d5d616a6a109b99a3ea94265d0c0716..cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a
a540419https://Github.com/RustPython/RustPython/commit/a54041920d5d616a6a109b99a3ea94265d0c0716
cca42e7https://Github.com/RustPython/RustPython/commit/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a
Compare https://Github.com/RustPython/RustPython/compare/a54041920d5d616a6a109b99a3ea94265d0c0716..cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a
July 22, 2026 13:18https://Github.com/RustPython/RustPython/pull/8348#event-28327679544
https://Github.com/apps/coderabbitai
coderabbitaihttps://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
coderabbitaihttps://Github.com/apps/coderabbitai
https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4754737559
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
dd9bce5https://github.com/RustPython/RustPython/commit/dd9bce501ccec8d2a269a3982b563134a20b242c
a540419https://github.com/RustPython/RustPython/commit/a54041920d5d616a6a109b99a3ea94265d0c0716
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
crates/vm/src/exceptions.rshttps://Github.com/RustPython/RustPython/pull/8348/files#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/kangdora
kangdorahttps://Github.com/kangdora
Jul 22, 2026https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5049605770
#8345https://github.com/RustPython/RustPython/issues/8345
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/devyubin
Store SyntaxError members in struct fields instead of class attributeshttps://Github.com/RustPython/RustPython/pull/8348/commits/172292a4178fe6a08419791bfaa20f6629f4b8d8
172292ahttps://Github.com/RustPython/RustPython/pull/8348/commits/172292a4178fe6a08419791bfaa20f6629f4b8d8
https://Github.com/devyubin
devyubinhttps://Github.com/devyubin
force-pushedhttps://Github.com/RustPython/RustPython/compare/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a..172292a4178fe6a08419791bfaa20f6629f4b8d8
cca42e7https://Github.com/RustPython/RustPython/commit/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a
172292ahttps://Github.com/RustPython/RustPython/commit/172292a4178fe6a08419791bfaa20f6629f4b8d8
Compare https://Github.com/RustPython/RustPython/compare/cca42e741dc3042a7b72dcb16ef4b0ad36d7f32a..172292a4178fe6a08419791bfaa20f6629f4b8d8
July 22, 2026 23:55https://Github.com/RustPython/RustPython/pull/8348#event-28355392971
https://Github.com/devyubin
Coerce SyntaxError location argument from any sequencehttps://Github.com/RustPython/RustPython/pull/8348/commits/c0fccaa91cfe56441781164c762ac60d540b4da7
c0fccaahttps://Github.com/RustPython/RustPython/pull/8348/commits/c0fccaa91cfe56441781164c762ac60d540b4da7
https://Github.com/youknowone
youknowonehttps://Github.com/youknowone
Jul 23, 2026https://Github.com/RustPython/RustPython/pull/8348#issuecomment-5061474536
@kangdorahttps://github.com/kangdora
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/kangdora
kangdorahttps://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
kangdorahttps://Github.com/kangdora
https://Github.com/RustPython/RustPython/pull/8348#pullrequestreview-4770327603
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#8345https://github.com/RustPython/RustPython/issues/8345
@youknowonehttps://github.com/youknowone
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
crates/vm/src/exceptions.rshttps://Github.com/RustPython/RustPython/pull/8348/files/c0fccaa91cfe56441781164c762ac60d540b4da7#diff-f527bc3e68302079a32d6da36816531e3e22dd31ff91ef0ff0f2688673712747
kangdorahttps://Github.com/kangdora
Jul 24, 2026https://Github.com/RustPython/RustPython/pull/8348#discussion_r3643087679
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://Github.com/RustPython/RustPython/pull/8348
https://github.co/hiddenchars
https://Github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
Sign up for freehttps://Github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://Github.com/RustPython/RustPython/pull/8348
https://Github.com/devyubin
https://Github.com/kangdora
https://Github.com/youknowone
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.