| 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:f1249675-d280-d077-cf53-01f5728c02f7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE94:B1D4C:2106D8:2AF235:6A5BEB00 |
| html-safe-nonce | bf8e2b2b68f70607461137368adf54521228a84196afb59766be4e2b232cf9a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTk0OkIxRDRDOjIxMDZEODoyQUYyMzU6NkE1QkVCMDAiLCJ2aXNpdG9yX2lkIjoiNDA3Nzc5NDk2MDgxNjcyODgzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cde4eace4af27553ac13e1212a5158cb06584906db67a67c4bdb2c1a5a79d1cb |
| hovercard-subject-tag | pull_request:3343960524 |
| 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/7318/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2439e98794f2a74aabb17cfe52ae4da9fea6697d2721bbf4b5f5b3d346291bc0/RustPython/RustPython/pull/7318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2439e98794f2a74aabb17cfe52ae4da9fea6697d2721bbf4b5f5b3d346291bc0/RustPython/RustPython/pull/7318 |
| og:image:alt | Summary by CodeRabbit
Bug Fixes
Improved source-file encoding detection (BOM + PEP 263) and decoding to better match CPython.
Stricter UTF-8 validation with clearer, location-aware syntax errors ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/7318#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7318 |
| 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 |
| 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%2F7318 |
|
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/7318 |
| Reload | https://github.com/RustPython/RustPython/pull/7318 |
| Reload | https://github.com/RustPython/RustPython/pull/7318 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
|
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
291
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
106
| 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 |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:utf8source | https://github.com/youknowone/RustPython/tree/utf8source |
| Conversation | https://github.com/RustPython/RustPython/pull/7318 |
| Commits3 (3) | https://github.com/RustPython/RustPython/pull/7318/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7318/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7318/files |
| Update test_utf8source from v3.14.3 and implement it | https://github.com/RustPython/RustPython/pull/7318#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:utf8source | https://github.com/youknowone/RustPython/tree/utf8source |
|
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| Mar 2, 2026 | https://github.com/RustPython/RustPython/pull/7318#issue-4010957805 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 2, 2026 | https://github.com/RustPython/RustPython/pull/7318#issuecomment-3984020692 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| bb805d3 | https://github.com/RustPython/RustPython/commit/bb805d360421cdb4e995f041216370e594f4b88a |
| 53ddc7e | https://github.com/RustPython/RustPython/commit/53ddc7ef48865007e0472e3946f5e7a87efa627f |
| Better codecs and fix lots of test_io and other expectedFailures #6997 | https://github.com/RustPython/RustPython/pull/6997 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7318 |
| 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/7318 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 2, 2026 | https://github.com/RustPython/RustPython/pull/7318#issuecomment-3984062062 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| March 3, 2026 00:38 | https://github.com/RustPython/RustPython/pull/7318#event-23210637895 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 3, 2026
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879573855 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7318/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879573855 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 0a6a6f8 | https://github.com/RustPython/RustPython/commit/0a6a6f8ddb69abede3adca76d80365b8930ae4ec |
| 55ca583 | https://github.com/RustPython/RustPython/commit/55ca58330ce7324afa1705d6c2d38bd88f9b15f9 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| crates/vm/src/stdlib/builtins.rs | https://github.com/RustPython/RustPython/pull/7318/files#diff-ce8bd80bb61ce870dbf04415913693df814ebda260d3fc784b689a657e694ca3 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| crates/vm/src/stdlib/builtins.rs | https://github.com/RustPython/RustPython/pull/7318/files#diff-ce8bd80bb61ce870dbf04415913693df814ebda260d3fc784b689a657e694ca3 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| crates/vm/src/stdlib/builtins.rs | https://github.com/RustPython/RustPython/pull/7318/files#diff-ce8bd80bb61ce870dbf04415913693df814ebda260d3fc784b689a657e694ca3 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 3, 2026
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879673871 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7318/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879673871 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 55ca583 | https://github.com/RustPython/RustPython/commit/55ca58330ce7324afa1705d6c2d38bd88f9b15f9 |
| 87b5930 | https://github.com/RustPython/RustPython/commit/87b5930010e877eef4d13748126e69659637f978 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Mar 3, 2026 | https://github.com/RustPython/RustPython/pull/7318#issuecomment-3988044866 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 3, 2026
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879695166 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7318/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3879695166 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 87b5930 | https://github.com/RustPython/RustPython/commit/87b5930010e877eef4d13748126e69659637f978 |
| 7a0e27f | https://github.com/RustPython/RustPython/commit/7a0e27ffb8e0056c8c760f0b66f61b794a9bcb9b |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/7a0e27ffb8e0056c8c760f0b66f61b794a9bcb9b..bb805d360421cdb4e995f041216370e594f4b88a |
| 7a0e27f | https://github.com/RustPython/RustPython/commit/7a0e27ffb8e0056c8c760f0b66f61b794a9bcb9b |
| bb805d3 | https://github.com/RustPython/RustPython/commit/bb805d360421cdb4e995f041216370e594f4b88a |
|
Compare
| https://github.com/RustPython/RustPython/compare/7a0e27ffb8e0056c8c760f0b66f61b794a9bcb9b..bb805d360421cdb4e995f041216370e594f4b88a |
| March 3, 2026 04:12 | https://github.com/RustPython/RustPython/pull/7318#event-23214082655 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 3, 2026
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3880136362 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7318/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7318#pullrequestreview-3880136362 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 7a0e27f | https://github.com/RustPython/RustPython/commit/7a0e27ffb8e0056c8c760f0b66f61b794a9bcb9b |
| bb805d3 | https://github.com/RustPython/RustPython/commit/bb805d360421cdb4e995f041216370e594f4b88a |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| March 3, 2026 21:27 | https://github.com/RustPython/RustPython/pull/7318#commits-pushed-33fca0d |
|
| https://github.com/youknowone |
| Update test_utf8source from v3.14.3 | https://github.com/RustPython/RustPython/pull/7318/commits/33fca0d77b21d749621e46e5ab0b3c1e8d834267 |
| 33fca0d | https://github.com/RustPython/RustPython/pull/7318/commits/33fca0d77b21d749621e46e5ab0b3c1e8d834267 |
|
| https://github.com/youknowone |
| Fix PEP 263 encoding detection per review | https://github.com/RustPython/RustPython/pull/7318/commits/77eade37f1e07b3cbab41862e04f0cb81ef88595 |
| 77eade3 | https://github.com/RustPython/RustPython/pull/7318/commits/77eade37f1e07b3cbab41862e04f0cb81ef88595 |
|
| https://github.com/youknowone |
| Remove expectedFailure for encoding tests now passing | https://github.com/RustPython/RustPython/pull/7318/commits/53ddc7ef48865007e0472e3946f5e7a87efa627f |
| 53ddc7e | https://github.com/RustPython/RustPython/pull/7318/commits/53ddc7ef48865007e0472e3946f5e7a87efa627f |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| force-pushed | https://github.com/RustPython/RustPython/compare/bb805d360421cdb4e995f041216370e594f4b88a..53ddc7ef48865007e0472e3946f5e7a87efa627f |
| bb805d3 | https://github.com/RustPython/RustPython/commit/bb805d360421cdb4e995f041216370e594f4b88a |
| 53ddc7e | https://github.com/RustPython/RustPython/commit/53ddc7ef48865007e0472e3946f5e7a87efa627f |
|
Compare
| https://github.com/RustPython/RustPython/compare/bb805d360421cdb4e995f041216370e594f4b88a..53ddc7ef48865007e0472e3946f5e7a87efa627f |
| March 3, 2026 12:27 | https://github.com/RustPython/RustPython/pull/7318#event-23225389037 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 62ca60a | https://github.com/RustPython/RustPython/commit/62ca60ad8204bcff968fcd9c25fa11c83afa3360 |
| Mar 3, 2026 | https://github.com/RustPython/RustPython/pull/7318#event-23227027882 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| March 3, 2026 13:29 | https://github.com/RustPython/RustPython/pull/7318#event-23227029000 |
| youknowone | https://github.com/youknowone |
|
Mar 22, 2026
| https://github.com/RustPython/RustPython/pull/7318#ref-commit-d9a7cd8 |
|
| https://github.com/youknowone |
| Merge pull request | https://github.com/youknowone/RustPython/commit/d9a7cd87cb69bfd45081ca27306966db8dab151b |
| RustPython#7318 | https://github.com/RustPython/RustPython/pull/7318 |
| from youknowone/utf8source | https://github.com/youknowone/RustPython/commit/d9a7cd87cb69bfd45081ca27306966db8dab151b |
| d9a7cd8 | https://github.com/youknowone/RustPython/commit/d9a7cd87cb69bfd45081ca27306966db8dab151b |
| 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%2F7318 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/RustPython/RustPython/pull/7318/files/bb805d360421cdb4e995f041216370e594f4b88a |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7318 |
|
| 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 |