René's URL Explorer Experiment


Title: Reduce number of string clones when compiling python source code by ShaharNaveh · Pull Request #8103 · RustPython/RustPython · GitHub

Open Graph Title: Reduce number of string clones when compiling python source code by ShaharNaveh · Pull Request #8103 · RustPython/RustPython

X Title: Reduce number of string clones when compiling python source code by ShaharNaveh · Pull Request #8103 · RustPython/RustPython

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

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

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

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

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:fb151e3c-a6d0-acc7-0e81-1f655c087c2f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88A6:2FC8B3:4C0EBF8:655A840:6A5DA35B
html-safe-nonceb7da0d716a794f91200d7c26a2710f0e1271e23cd4381c73fa26cec5d3e683ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEE2OjJGQzhCMzo0QzBFQkY4OjY1NUE4NDA6NkE1REEzNUIiLCJ2aXNpdG9yX2lkIjoiNDk4NDIyMjIzMjEwNzM5Mzg4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca6a5a0f82a422830f2fc4648b8f4928848a00f125253450c50b9e7835a4c4052
hovercard-subject-tagpull_request:3862611643
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/8103/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/04586dc10e7fa6f90fa77febf318f45932df9eb75f3d7574f86f15495970bde7/RustPython/RustPython/pull/8103
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04586dc10e7fa6f90fa77febf318f45932df9eb75f3d7574f86f15495970bde7/RustPython/RustPython/pull/8103
og:image:altCloses #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameShaharNaveh
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 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
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%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
Reloadhttps://github.com/RustPython/RustPython/pull/8103
Reloadhttps://github.com/RustPython/RustPython/pull/8103
Reloadhttps://github.com/RustPython/RustPython/pull/8103
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
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 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
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
ShaharNaveh:nits-6https://github.com/ShaharNaveh/RustPython/tree/nits-6
Conversationhttps://github.com/RustPython/RustPython/pull/8103
Commits6 (6)https://github.com/RustPython/RustPython/pull/8103/commits
Checkshttps://github.com/RustPython/RustPython/pull/8103/checks
Files changedhttps://github.com/RustPython/RustPython/pull/8103/files
Reduce number of string clones when compiling python source codehttps://github.com/RustPython/RustPython/pull/8103#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
ShaharNaveh:nits-6https://github.com/ShaharNaveh/RustPython/tree/nits-6
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
Jun 14, 2026https://github.com/RustPython/RustPython/pull/8103#issue-4658945820
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
AI policyhttps://github.com/RustPython/.github/blob/main/AI_POLICY.md
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 14, 2026https://github.com/RustPython/RustPython/pull/8103#issuecomment-4701625529
Please reload this pagehttps://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
0df603ahttps://github.com/RustPython/RustPython/commit/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1
215003ahttps://github.com/RustPython/RustPython/commit/215003a1c5f04cbcbff2e12d2eb670657bee0822
RustPython/RustPython#7740https://github.com/RustPython/RustPython/pull/7740
RustPython/RustPython#8050https://github.com/RustPython/RustPython/pull/8050
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=8103
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/8103
ShaharNavehhttps://github.com/ShaharNaveh
June 14, 2026 15:03https://github.com/RustPython/RustPython/pull/8103#commits-pushed-cccd1bd
https://github.com/ShaharNaveh
Reduce to_owned callshttps://github.com/RustPython/RustPython/pull/8103/commits/cccd1bdceb418c0ac94b133b18368deb40b2a75e
cccd1bdhttps://github.com/RustPython/RustPython/pull/8103/commits/cccd1bdceb418c0ac94b133b18368deb40b2a75e
https://github.com/ShaharNaveh
fix morehttps://github.com/RustPython/RustPython/pull/8103/commits/7ab95fdf90af9bbfa24985c81ca7e09311163b22
7ab95fdhttps://github.com/RustPython/RustPython/pull/8103/commits/7ab95fdf90af9bbfa24985c81ca7e09311163b22
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
force-pushedhttps://github.com/RustPython/RustPython/compare/d39b8df36240ee9cd16ec59c099634be41cf3f95..e9494878384f63d38851d1c7db536734a98f03f9
d39b8dfhttps://github.com/RustPython/RustPython/commit/d39b8df36240ee9cd16ec59c099634be41cf3f95
e949487https://github.com/RustPython/RustPython/commit/e9494878384f63d38851d1c7db536734a98f03f9
Compare https://github.com/RustPython/RustPython/compare/d39b8df36240ee9cd16ec59c099634be41cf3f95..e9494878384f63d38851d1c7db536734a98f03f9
June 14, 2026 12:21https://github.com/RustPython/RustPython/pull/8103#event-26725202587
https://github.com/ShaharNaveh
Fix wasmhttps://github.com/RustPython/RustPython/pull/8103/commits/30f2075161a83e8987606d6d358ea530d1010924
30f2075https://github.com/RustPython/RustPython/pull/8103/commits/30f2075161a83e8987606d6d358ea530d1010924
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
force-pushedhttps://github.com/RustPython/RustPython/compare/e9494878384f63d38851d1c7db536734a98f03f9..30f2075161a83e8987606d6d358ea530d1010924
e949487https://github.com/RustPython/RustPython/commit/e9494878384f63d38851d1c7db536734a98f03f9
30f2075https://github.com/RustPython/RustPython/commit/30f2075161a83e8987606d6d358ea530d1010924
Compare https://github.com/RustPython/RustPython/compare/e9494878384f63d38851d1c7db536734a98f03f9..30f2075161a83e8987606d6d358ea530d1010924
June 14, 2026 12:27https://github.com/RustPython/RustPython/pull/8103#event-26725279535
https://github.com/ShaharNaveh
doctesthttps://github.com/RustPython/RustPython/pull/8103/commits/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1
0df603ahttps://github.com/RustPython/RustPython/pull/8103/commits/0df603aa6a9de72d7b0a8b3365f1e4dfdfdde8b1
https://github.com/ShaharNaveh
ShaharNavehhttps://github.com/ShaharNaveh
June 14, 2026 12:43https://github.com/RustPython/RustPython/pull/8103#event-26725479576
ShaharNavehhttps://github.com/ShaharNaveh
June 14, 2026 17:05https://github.com/RustPython/RustPython/pull/8103#commits-pushed-f38b304
https://github.com/ShaharNaveh
Skip flaky test on windowshttps://github.com/RustPython/RustPython/pull/8103/commits/f38b3048d62789c765df2cf8bf3241c96bd51e3c
f38b304https://github.com/RustPython/RustPython/pull/8103/commits/f38b3048d62789c765df2cf8bf3241c96bd51e3c
https://github.com/ShaharNaveh
fix when no hostenvhttps://github.com/RustPython/RustPython/pull/8103/commits/215003a1c5f04cbcbff2e12d2eb670657bee0822
215003ahttps://github.com/RustPython/RustPython/pull/8103/commits/215003a1c5f04cbcbff2e12d2eb670657bee0822
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 14, 2026https://github.com/RustPython/RustPython/pull/8103#issuecomment-4701991761
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
https://github.com/youknowone
youknowonehttps://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
youknowonehttps://github.com/youknowone
c0e3066https://github.com/RustPython/RustPython/commit/c0e306688a0266dfd4895dc9dc838b19a38e0c35
Jun 15, 2026https://github.com/RustPython/RustPython/pull/8103#event-26737055428
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
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%2F8103
https://github.com/youknowone
youknowone https://github.com/youknowone
https://github.com/RustPython/RustPython/pull/8103/files/215003a1c5f04cbcbff2e12d2eb670657bee0822
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8103
https://github.com/ShaharNaveh
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.