René's URL Explorer Experiment


Title: Tuple Support and WIP Object Support in JIT by LuigiTheJokesterAlvarez · Pull Request #8188 · RustPython/RustPython · GitHub

Open Graph Title: Tuple Support and WIP Object Support in JIT by LuigiTheJokesterAlvarez · Pull Request #8188 · RustPython/RustPython

X Title: Tuple Support and WIP Object Support in JIT by LuigiTheJokesterAlvarez · Pull Request #8188 · RustPython/RustPython

Description: Closes #xxxx This PR follows our AI policy Summary This changes the JIT to support tuples and possibly, objects Summary by CodeRabbit New Features Added heap-backed, shape-aware tuple support across the JIT ABI and runtime. Extended the JIT ABI/type system with a new object/pointer-like value type and tuple constant lowering. JIT type annotations now accept tuple, mapping it to the new representation. Bug Fixes Fixed tuple unpacking to use the heap-backed layout with element-count validation. Corrected local load/store handling for scalar vs object-backed values. Tightened boolean conversion and improved return value handling to match the pre-declared return type. Tests Added tuple_identity and expanded JIT snippet coverage with explicit tuple-related type annotations.

Open Graph Description: Closes #xxxx This PR follows our AI policy Summary This changes the JIT to support tuples and possibly, objects Summary by CodeRabbit New Features Added heap-backed, shape-aware tuple suppo...

X Description: Closes #xxxx This PR follows our AI policy Summary This changes the JIT to support tuples and possibly, objects Summary by CodeRabbit New Features Added heap-backed, shape-aware tuple suppo...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:26dd19bc-8ae0-3f13-9f08-790b695bd79d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB4C8:33F7F9:169D07C:2059F3D:6A6351D5
html-safe-nonce1eecb1e0bed20bdbad82ad84fc51103ac6d9fb2b096f90df2c96d741f843c64f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEM4OjMzRjdGOToxNjlEMDdDOjIwNTlGM0Q6NkE2MzUxRDUiLCJ2aXNpdG9yX2lkIjoiMjMxOTI5MTM5NTQxNTk1Mzg3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacce385762e50b1f6ff91333b639ad84bdefec3db14efdc1b67870a167b54d72b7
hovercard-subject-tagpull_request:3951763683
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8188/files
twitter:imagehttps://avatars.githubusercontent.com/u/170565105?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/170565105?s=400&v=4
og:image:altCloses #xxxx This PR follows our AI policy Summary This changes the JIT to support tuples and possibly, objects Summary by CodeRabbit New Features Added heap-backed, shape-aware tuple suppo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release990295d92a4cc7b63fbbd83a046217cd7d77d49c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8188/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8188%2Ffiles
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%2F8188%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/8188/files
Reloadhttps://github.com/RustPython/RustPython/pull/8188/files
Reloadhttps://github.com/RustPython/RustPython/pull/8188/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
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 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
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
LuigiTheJokesterAlvarezhttps://github.com/LuigiTheJokesterAlvarez
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
LuigiTheJokesterAlvarez:abi-fixhttps://github.com/LuigiTheJokesterAlvarez/RustPython/tree/abi-fix
Conversation 15 https://github.com/RustPython/RustPython/pull/8188
Commits 16 https://github.com/RustPython/RustPython/pull/8188/commits
Checks 49 https://github.com/RustPython/RustPython/pull/8188/checks
Files changed https://github.com/RustPython/RustPython/pull/8188/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
Tuple Support and WIP Object Support in JIT https://github.com/RustPython/RustPython/pull/8188/files#top
Show all changes 16 commits https://github.com/RustPython/RustPython/pull/8188/files
976e2ee partial tuple support in jit LuigiTheJokesterAlvarez Jun 28, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/976e2ee7b8796d79b4b89c7b2888f7619e29711f
1d15570 rebinding fix LuigiTheJokesterAlvarez Jun 28, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/1d155702709fe9ae9e6dfc5d1ee7ce63e0ae4659
1996657 successful return tuple LuigiTheJokesterAlvarez Jun 28, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/1996657f24c9e35e1c8640673efeb0e5d0178607
2d7483c delete test LuigiTheJokesterAlvarez Jun 28, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/2d7483ce8a0ff46235e8e40af1473535af2f21f2
bdf64b7 AAAAAAAAAAA LuigiTheJokesterAlvarez Jun 28, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/bdf64b73bcb8a9c7b6368507b2b33e0f2c86307d
f32149d documentation LuigiTheJokesterAlvarez Jun 29, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/f32149d880c2c9b02d5fcd65dbff20924c77b5ea
f2fb6ef Fixed it after 3038 years LuigiTheJokesterAlvarez Jul 2, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/f2fb6ef9b3f1cb226e63b318b2ea0e425f25eb88
661b659 Merge branch 'main' of https://github.com/RustPython/RustPython into … LuigiTheJokesterAlvarez Jul 2, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/661b659d516f4d11e7103efc58ac00b35b0e544a
c12d905 test snippet fix + doc error LuigiTheJokesterAlvarez Jul 2, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/c12d9051bc5dbd435915ab12c1157bac83926ce7
a26972c why on earth do i always forget about formatting LuigiTheJokesterAlvarez Jul 2, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/a26972c4297f972de7f712f70f9911162bc95dfd
35214d1 alegremente LuigiTheJokesterAlvarez Jul 2, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/35214d1d9a30298b7e46b9fef15469d123b170f7
1a2f502 Disabled the While Loop Test until good implementation of SSA phi nodes LuigiTheJokesterAlvarez Jul 3, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/1a2f5023a80b4020a063609f3019ca06fba68c6c
55895a0 clippy LuigiTheJokesterAlvarez Jul 3, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/55895a0d5e55bec620f3d6e8cd8f39aa6d50074d
ec7eedb onelineofcode LuigiTheJokesterAlvarez Jul 3, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/ec7eedb57df2108622897a10dc3791c7e1491afa
60b12a9 AAAAAAAARGH LuigiTheJokesterAlvarez Jul 3, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/60b12a975866a4b908aa17aa03b697d6aeae5633
3f9c312 ruff LuigiTheJokesterAlvarez Jul 3, 2026 https://github.com/RustPython/RustPython/pull/8188/commits/3f9c31201a0c02873607d79bf7526ec657e7e092
Clear filters https://github.com/RustPython/RustPython/pull/8188/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
instructions.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
lib.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-6f8c0064e31f9292f923cf9cd8d68123c9cd542f2c469855c8835d4ea7b9b75e
bool_tests.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-0eec6ef01c0bee855a2c68f12f64de20d252920c7e40147dbdb3b7ef7e170f2c
float_tests.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-ca18e396ff95ce3b680a16f7b8164b7cee259236f8badeb880d55b4a22126678
int_tests.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-f19d91f55ff8573b7a68ed3d7e00b2b5e7b030106073260f8c3bf657efea0777
misc_tests.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-9df44b66378e9991cbfac5d38857dccf63001a2ee246b8b356d8ec46ba0917d7
none_tests.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-0be72c4bef49e9d82f188510414c779ea5f05c9531fd9f9952777679b4ac5054
function.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698
jit.rs https://github.com/RustPython/RustPython/pull/8188/files#diff-878469611632f7efe766e915fd08f48ef5bc511c38b139666520cd5ba2e9f281
jit.py https://github.com/RustPython/RustPython/pull/8188/files#diff-5594a881b34c9815d26ea561633c7751ff9ec4723f18cec2f4d9ee36f6f659b0
crates/jit/src/instructions.rshttps://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
View file https://github.com/RustPython/RustPython/blob/3f9c31201a0c02873607d79bf7526ec657e7e092/crates/jit/src/instructions.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8188/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
https://github.com/RustPython/RustPython/pull/8188/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8188/files
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.