| 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:fb151e3c-a6d0-acc7-0e81-1f655c087c2f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 88A6:2FC8B3:4C0EBF8:655A840:6A5DA35B |
| html-safe-nonce | b7da0d716a794f91200d7c26a2710f0e1271e23cd4381c73fa26cec5d3e683ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEE2OjJGQzhCMzo0QzBFQkY4OjY1NUE4NDA6NkE1REEzNUIiLCJ2aXNpdG9yX2lkIjoiNDk4NDIyMjIzMjEwNzM5Mzg4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a6a5a0f82a422830f2fc4648b8f4928848a00f125253450c50b9e7835a4c4052 |
| hovercard-subject-tag | pull_request:3862611643 |
| 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/8103/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/04586dc10e7fa6f90fa77febf318f45932df9eb75f3d7574f86f15495970bde7/RustPython/RustPython/pull/8103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04586dc10e7fa6f90fa77febf318f45932df9eb75f3d7574f86f15495970bde7/RustPython/RustPython/pull/8103 |
| og:image:alt | Closes #xxxx
This PR follows our AI policy
Summary
Summary by CodeRabbit
Refactor
Optimized how source names and paths are passed during compilation and execution to avoid unnecessary string... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ShaharNaveh |
| 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/8103#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8103 |
| 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%2F8103 |
|
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/8103 |
| Reload | https://github.com/RustPython/RustPython/pull/8103 |
| Reload | https://github.com/RustPython/RustPython/pull/8103 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
|
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
293
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
104
| 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 |
| ShaharNaveh:nits-6 | https://github.com/ShaharNaveh/RustPython/tree/nits-6 |
| Conversation | https://github.com/RustPython/RustPython/pull/8103 |
| Commits6 (6) | https://github.com/RustPython/RustPython/pull/8103/commits |
| Checks | https://github.com/RustPython/RustPython/pull/8103/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/8103/files |
| Reduce number of string clones when compiling python source code | https://github.com/RustPython/RustPython/pull/8103#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| ShaharNaveh:nits-6 | https://github.com/ShaharNaveh/RustPython/tree/nits-6 |
|
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| Jun 14, 2026 | https://github.com/RustPython/RustPython/pull/8103#issue-4658945820 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
| AI policy | https://github.com/RustPython/.github/blob/main/AI_POLICY.md |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Jun 14, 2026 | https://github.com/RustPython/RustPython/pull/8103#issuecomment-4701625529 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
| https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/8103?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack |
| 0df603a | https://github.com/RustPython/RustPython/commit/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1 |
| 215003a | https://github.com/RustPython/RustPython/commit/215003a1c5f04cbcbff2e12d2eb670657bee0822 |
| RustPython/RustPython#7740 | https://github.com/RustPython/RustPython/pull/7740 |
| RustPython/RustPython#8050 | https://github.com/RustPython/RustPython/pull/8050 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=8103 |
| 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/8103 |
| ShaharNaveh | https://github.com/ShaharNaveh |
| June 14, 2026 15:03 | https://github.com/RustPython/RustPython/pull/8103#commits-pushed-cccd1bd |
|
| https://github.com/ShaharNaveh |
| Reduce to_owned calls | https://github.com/RustPython/RustPython/pull/8103/commits/cccd1bdceb418c0ac94b133b18368deb40b2a75e |
| cccd1bd | https://github.com/RustPython/RustPython/pull/8103/commits/cccd1bdceb418c0ac94b133b18368deb40b2a75e |
|
| https://github.com/ShaharNaveh |
| fix more | https://github.com/RustPython/RustPython/pull/8103/commits/7ab95fdf90af9bbfa24985c81ca7e09311163b22 |
| 7ab95fd | https://github.com/RustPython/RustPython/pull/8103/commits/7ab95fdf90af9bbfa24985c81ca7e09311163b22 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| force-pushed | https://github.com/RustPython/RustPython/compare/d39b8df36240ee9cd16ec59c099634be41cf3f95..e9494878384f63d38851d1c7db536734a98f03f9 |
| d39b8df | https://github.com/RustPython/RustPython/commit/d39b8df36240ee9cd16ec59c099634be41cf3f95 |
| e949487 | https://github.com/RustPython/RustPython/commit/e9494878384f63d38851d1c7db536734a98f03f9 |
|
Compare
| https://github.com/RustPython/RustPython/compare/d39b8df36240ee9cd16ec59c099634be41cf3f95..e9494878384f63d38851d1c7db536734a98f03f9 |
| June 14, 2026 12:21 | https://github.com/RustPython/RustPython/pull/8103#event-26725202587 |
|
| https://github.com/ShaharNaveh |
| Fix wasm | https://github.com/RustPython/RustPython/pull/8103/commits/30f2075161a83e8987606d6d358ea530d1010924 |
| 30f2075 | https://github.com/RustPython/RustPython/pull/8103/commits/30f2075161a83e8987606d6d358ea530d1010924 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| force-pushed | https://github.com/RustPython/RustPython/compare/e9494878384f63d38851d1c7db536734a98f03f9..30f2075161a83e8987606d6d358ea530d1010924 |
| e949487 | https://github.com/RustPython/RustPython/commit/e9494878384f63d38851d1c7db536734a98f03f9 |
| 30f2075 | https://github.com/RustPython/RustPython/commit/30f2075161a83e8987606d6d358ea530d1010924 |
|
Compare
| https://github.com/RustPython/RustPython/compare/e9494878384f63d38851d1c7db536734a98f03f9..30f2075161a83e8987606d6d358ea530d1010924 |
| June 14, 2026 12:27 | https://github.com/RustPython/RustPython/pull/8103#event-26725279535 |
|
| https://github.com/ShaharNaveh |
| doctest | https://github.com/RustPython/RustPython/pull/8103/commits/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1 |
| 0df603a | https://github.com/RustPython/RustPython/pull/8103/commits/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| June 14, 2026 12:43 | https://github.com/RustPython/RustPython/pull/8103#event-26725479576 |
| ShaharNaveh | https://github.com/ShaharNaveh |
| June 14, 2026 17:05 | https://github.com/RustPython/RustPython/pull/8103#commits-pushed-f38b304 |
|
| https://github.com/ShaharNaveh |
| Skip flaky test on windows | https://github.com/RustPython/RustPython/pull/8103/commits/f38b3048d62789c765df2cf8bf3241c96bd51e3c |
| f38b304 | https://github.com/RustPython/RustPython/pull/8103/commits/f38b3048d62789c765df2cf8bf3241c96bd51e3c |
|
| https://github.com/ShaharNaveh |
| fix when no hostenv | https://github.com/RustPython/RustPython/pull/8103/commits/215003a1c5f04cbcbff2e12d2eb670657bee0822 |
| 215003a | https://github.com/RustPython/RustPython/pull/8103/commits/215003a1c5f04cbcbff2e12d2eb670657bee0822 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 14, 2026 | https://github.com/RustPython/RustPython/pull/8103#issuecomment-4701991761 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
|
Jun 15, 2026
| https://github.com/RustPython/RustPython/pull/8103#pullrequestreview-4494076534 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/8103/files/215003a1c5f04cbcbff2e12d2eb670657bee0822 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| c0e3066 | https://github.com/RustPython/RustPython/commit/c0e306688a0266dfd4895dc9dc838b19a38e0c35 |
| Jun 15, 2026 | https://github.com/RustPython/RustPython/pull/8103#event-26737055428 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
| 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%2F8103 |
|
| https://github.com/youknowone |
|
youknowone
| https://github.com/youknowone |
|
| https://github.com/RustPython/RustPython/pull/8103/files/215003a1c5f04cbcbff2e12d2eb670657bee0822 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8103 |
|
| https://github.com/ShaharNaveh |
|
| 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 |