René's URL Explorer Experiment


Title: vm.run_pyc_bytes by youknowone · Pull Request #6645 · RustPython/RustPython · GitHub

Open Graph Title: vm.run_pyc_bytes by youknowone · Pull Request #6645 · RustPython/RustPython

X Title: vm.run_pyc_bytes by youknowone · Pull Request #6645 · RustPython/RustPython

Description: Fix #6239 Summary by CodeRabbit New Features Support for loading and executing precompiled Python bytecode (.pyc) from files or in-memory bytes New VM API to run bytecode directly from memory a...

Open Graph Description: Fix #6239 Summary by CodeRabbit New Features Support for loading and executing precompiled Python bytecode (.pyc) from files or in-memory bytes New VM API to run bytecode directly from memory a...

X Description: Fix #6239 Summary by CodeRabbit New Features Support for loading and executing precompiled Python bytecode (.pyc) from files or in-memory bytes New VM API to run bytecode directly from memory a...

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

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:ddb64c66-9d7e-3835-1707-8df1b0919394
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC1B4:2BBD61:2866165:35414C7:696B244C
html-safe-nonceb35cee19d80851873be6fd12fc327c0ef0212137b59311976d028b4124d1e7db
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUI0OjJCQkQ2MToyODY2MTY1OjM1NDE0Qzc6Njk2QjI0NEMiLCJ2aXNpdG9yX2lkIjoiNjE0MzQ2NDk5MjI1NTE5MDA5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacce6eacbd0303064965d1d673f207913db370c2b1c140f53d63123bb3534a31e8
hovercard-subject-tagpull_request:3144377400
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/6645/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9fddfd976050e9400df6b43e117bb026c7554b863af23d5cb22be79f2a43fe3d/RustPython/RustPython/pull/6645
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9fddfd976050e9400df6b43e117bb026c7554b863af23d5cb22be79f2a43fe3d/RustPython/RustPython/pull/6645
og:image:altFix #6239 Summary by CodeRabbit New Features Support for loading and executing precompiled Python bytecode (.pyc) from files or in-memory bytes New VM API to run bytecode directly from memory a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/6645#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6645
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F6645
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/6645
Reloadhttps://github.com/RustPython/RustPython/pull/6645
Reloadhttps://github.com/RustPython/RustPython/pull/6645
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.4k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 21.7k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 278 https://github.com/RustPython/RustPython/issues
Pull requests 92 https://github.com/RustPython/RustPython/pulls
Discussions https://github.com/RustPython/RustPython/discussions
Actions https://github.com/RustPython/RustPython/actions
Projects 0 https://github.com/RustPython/RustPython/projects
Wiki https://github.com/RustPython/RustPython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/RustPython/RustPython/security
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
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
Wiki https://github.com/RustPython/RustPython/wiki
Security https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/RustPython/RustPython/pull/6645#issue-comment-box
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:run_pyc_byteshttps://github.com/youknowone/RustPython/tree/run_pyc_bytes
vm.run_pyc_bytes https://github.com/RustPython/RustPython/pull/6645#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:run_pyc_byteshttps://github.com/youknowone/RustPython/tree/run_pyc_bytes
Conversation 4 https://github.com/RustPython/RustPython/pull/6645
Commits 5 https://github.com/RustPython/RustPython/pull/6645/commits
Checks 12 https://github.com/RustPython/RustPython/pull/6645/checks
Files changed https://github.com/RustPython/RustPython/pull/6645/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Jan 4, 2026https://github.com/RustPython/RustPython/pull/6645#issue-3779167779
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
#6239https://github.com/RustPython/RustPython/issues/6239
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
youknowonehttps://github.com/youknowone
January 4, 2026 20:54https://github.com/RustPython/RustPython/pull/6645#commits-pushed-20aacae
https://github.com/youknowone
rustpython_vm::import::check_pyc_magic_number_byteshttps://github.com/RustPython/RustPython/pull/6645/commits/20aacaee2a0aacd3829edd2d6441aeca5593dfa9
20aacaehttps://github.com/RustPython/RustPython/pull/6645/commits/20aacaee2a0aacd3829edd2d6441aeca5593dfa9
https://github.com/youknowone
vm.new_scope_with_mainhttps://github.com/RustPython/RustPython/pull/6645/commits/0a4a153394b8f98b050b4d7d1673ac2d1a7f6a3d
0a4a153https://github.com/RustPython/RustPython/pull/6645/commits/0a4a153394b8f98b050b4d7d1673ac2d1a7f6a3d
https://github.com/youknowone
PyCode::from_pychttps://github.com/RustPython/RustPython/pull/6645/commits/7e33efa5258a221f4d1bc4b9ba833f2d07d4f35c
7e33efahttps://github.com/RustPython/RustPython/pull/6645/commits/7e33efa5258a221f4d1bc4b9ba833f2d07d4f35c
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jan 4, 2026https://github.com/RustPython/RustPython/pull/6645#issuecomment-3708019686
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
Implement maybe_pyc_file and .pyc file execution #6539https://github.com/RustPython/RustPython/pull/6539
Fix PyCode constructor/replace #6193https://github.com/RustPython/RustPython/pull/6193
Fix test.support.requires_debug_ranges #6049https://github.com/RustPython/RustPython/pull/6049
#6239https://github.com/RustPython/RustPython/issues/6239
5e90531https://github.com/RustPython/RustPython/commit/5e90531d6f79c774106eb523f01410e2708a97a3
8634a91https://github.com/RustPython/RustPython/commit/8634a91bc247606c8618ba73c70a582d25a843f1
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=6645
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/6645
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Jan 4, 2026https://github.com/RustPython/RustPython/pull/6645#event-21841040872
https://github.com/youknowone
vm.run_pyc_byteshttps://github.com/RustPython/RustPython/pull/6645/commits/5e90531d6f79c774106eb523f01410e2708a97a3
5e90531https://github.com/RustPython/RustPython/pull/6645/commits/5e90531d6f79c774106eb523f01410e2708a97a3
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/0b1cd18d066d3a546a8af2934aba0d31cc3c5a68..5e90531d6f79c774106eb523f01410e2708a97a3
0b1cd18https://github.com/RustPython/RustPython/commit/0b1cd18d066d3a546a8af2934aba0d31cc3c5a68
5e90531https://github.com/RustPython/RustPython/commit/5e90531d6f79c774106eb523f01410e2708a97a3
Compare https://github.com/RustPython/RustPython/compare/0b1cd18d066d3a546a8af2934aba0d31cc3c5a68..5e90531d6f79c774106eb523f01410e2708a97a3
January 4, 2026 12:16https://github.com/RustPython/RustPython/pull/6645#event-21841109001
https://github.com/youknowone
youknowonehttps://github.com/youknowone
January 4, 2026 12:53https://github.com/RustPython/RustPython/pull/6645#event-21841259814
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jan 4, 2026 https://github.com/RustPython/RustPython/pull/6645#pullrequestreview-3624992974
View reviewed changes https://github.com/RustPython/RustPython/pull/6645/files/5e90531d6f79c774106eb523f01410e2708a97a3
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/6645#pullrequestreview-3624992974
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ec564achttps://github.com/RustPython/RustPython/commit/ec564ac1902b0414f233ae60fe7c087748118e20
5e90531https://github.com/RustPython/RustPython/commit/5e90531d6f79c774106eb523f01410e2708a97a3
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
crates/vm/src/builtins/code.rshttps://github.com/RustPython/RustPython/pull/6645/files/5e90531d6f79c774106eb523f01410e2708a97a3#diff-77c714638c90d3ce93194eec52bdefe7301d53f84d90a45c87289b21a11383f9
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
crates/vm/src/import.rshttps://github.com/RustPython/RustPython/pull/6645/files/5e90531d6f79c774106eb523f01410e2708a97a3#diff-fdf183809931dc08d13609a0577f60effd521a60f8659606569d495720eb97d3
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
https://github.com/youknowone
add boundary checkhttps://github.com/RustPython/RustPython/pull/6645/commits/8634a91bc247606c8618ba73c70a582d25a843f1
8634a91https://github.com/RustPython/RustPython/pull/6645/commits/8634a91bc247606c8618ba73c70a582d25a843f1
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/ecfaed335c6d5792c6b8ebef195a3412f8e197f6..8634a91bc247606c8618ba73c70a582d25a843f1
ecfaed3https://github.com/RustPython/RustPython/commit/ecfaed335c6d5792c6b8ebef195a3412f8e197f6
8634a91https://github.com/RustPython/RustPython/commit/8634a91bc247606c8618ba73c70a582d25a843f1
Compare https://github.com/RustPython/RustPython/compare/ecfaed335c6d5792c6b8ebef195a3412f8e197f6..8634a91bc247606c8618ba73c70a582d25a843f1
January 4, 2026 13:16https://github.com/RustPython/RustPython/pull/6645#event-21841355752
https://github.com/youknowone
youknowonehttps://github.com/youknowone
e1b22f1https://github.com/RustPython/RustPython/commit/e1b22f19e62d47485bdb55c9f3a4698221374f5b
Jan 4, 2026https://github.com/RustPython/RustPython/pull/6645#event-21841520945
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
https://github.com/youknowone
youknowonehttps://github.com/youknowone
January 4, 2026 13:58https://github.com/RustPython/RustPython/pull/6645#event-21841521125
terryluan12https://github.com/terryluan12
Jan 5, 2026 https://github.com/RustPython/RustPython/pull/6645#ref-commit-6026f9a
https://github.com/youknowone
https://github.com/terryluan12
vm.run_pyc_bytes (https://github.com/terryluan12/RustPython/commit/6026f9a216507e6ec6c3be13926125f63fa20bf7
RustPython#6645https://github.com/RustPython/RustPython/pull/6645
)https://github.com/terryluan12/RustPython/commit/6026f9a216507e6ec6c3be13926125f63fa20bf7
6026f9ahttps://github.com/terryluan12/RustPython/commit/6026f9a216507e6ec6c3be13926125f63fa20bf7
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jan 5, 2026 https://github.com/RustPython/RustPython/pull/6645#ref-pullrequest-3779839921
Updated the re library + test #6648 https://github.com/RustPython/RustPython/pull/6648
terryluan12https://github.com/terryluan12
Jan 5, 2026 https://github.com/RustPython/RustPython/pull/6645#ref-commit-4d0b984
https://github.com/youknowone
https://github.com/terryluan12
vm.run_pyc_bytes (https://github.com/terryluan12/RustPython/commit/4d0b98434a0396564d9003d13933634d5ffb73ae
RustPython#6645https://github.com/RustPython/RustPython/pull/6645
)https://github.com/terryluan12/RustPython/commit/4d0b98434a0396564d9003d13933634d5ffb73ae
4d0b984https://github.com/terryluan12/RustPython/commit/4d0b98434a0396564d9003d13933634d5ffb73ae
terryluan12https://github.com/terryluan12
Jan 15, 2026 https://github.com/RustPython/RustPython/pull/6645#ref-commit-8ac0e53
https://github.com/youknowone
https://github.com/terryluan12
vm.run_pyc_bytes (https://github.com/terryluan12/RustPython/commit/8ac0e536abf8be4d339773b8c0ca751409ea05aa
RustPython#6645https://github.com/RustPython/RustPython/pull/6645
)https://github.com/terryluan12/RustPython/commit/8ac0e536abf8be4d339773b8c0ca751409ea05aa
8ac0e53https://github.com/terryluan12/RustPython/commit/8ac0e536abf8be4d339773b8c0ca751409ea05aa
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%2F6645
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/6645/files/5e90531d6f79c774106eb523f01410e2708a97a3
Add vm.run_bytecode https://github.com/RustPython/RustPython/issues/6239
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6645
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.