| 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:2d036a83-1c20-d734-fbdb-28a31db11382 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8DEC:3019A8:AC5A7F:E44B55:6A5BAD01 |
| html-safe-nonce | d3ccd7ef1e3d6c2a32245eb3339a1da3c737c2e58c4a94a8ecf08fd4c41b26d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REVDOjMwMTlBODpBQzVBN0Y6RTQ0QjU1OjZBNUJBRDAxIiwidmlzaXRvcl9pZCI6IjcxNTQzMDk3NjA0MTAxNjg1NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5bb2c6df1d5ffa89de7e98d85ae0d44880541b9f95307214163457ca2aba1ad |
| hovercard-subject-tag | pull_request:3358188039 |
| 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/7358/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bb2004455d1321784e24fd21784eaa8b7bb8eb629341e5a6353f08757945a39c/RustPython/RustPython/pull/7358 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb2004455d1321784e24fd21784eaa8b7bb8eb629341e5a6353f08757945a39c/RustPython/RustPython/pull/7358 |
| og:image:alt | Summary by CodeRabbit
Refactor
Introduced a dedicated, typed constant index for safer, consistent constant lookups across compiler, bytecode, JIT, and VM.
Replaced raw constant storage with a uni... |
| 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/7358#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7358 |
| 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%2F7358 |
|
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/7358 |
| Reload | https://github.com/RustPython/RustPython/pull/7358 |
| Reload | https://github.com/RustPython/RustPython/pull/7358 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
|
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
105
| 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:bytecode-consti-newtype | https://github.com/ShaharNaveh/RustPython/tree/bytecode-consti-newtype |
| Conversation | https://github.com/RustPython/RustPython/pull/7358 |
| Commits3 (3) | https://github.com/RustPython/RustPython/pull/7358/commits |
| Checks | https://github.com/RustPython/RustPython/pull/7358/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/7358/files |
| Newtype ConstIdx, Constants | https://github.com/RustPython/RustPython/pull/7358#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| ShaharNaveh:bytecode-consti-newtype | https://github.com/ShaharNaveh/RustPython/tree/bytecode-consti-newtype |
|
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| Mar 5, 2026 | https://github.com/RustPython/RustPython/pull/7358#issue-4027520786 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 5, 2026 | https://github.com/RustPython/RustPython/pull/7358#issuecomment-4004246683 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| Bytecode enum named oparg #7294 | https://github.com/RustPython/RustPython/pull/7294 |
| Make inner oparg values private #7050 | https://github.com/RustPython/RustPython/pull/7050 |
| Bytecode pseudo opcodes #6715 | https://github.com/RustPython/RustPython/pull/6715 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7358 |
| 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/7358 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| March 5, 2026 13:51 | https://github.com/RustPython/RustPython/pull/7358#event-23298503571 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 5, 2026
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3896801400 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7358/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3896801400 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 375b547 | https://github.com/RustPython/RustPython/commit/375b5472ed5781756e5eea2aba61af55ea477db4 |
| 571ac6b | https://github.com/RustPython/RustPython/commit/571ac6bc492a4dc45e250edfbc6f9bdb0819155c |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| crates/jit/tests/common.rs | https://github.com/RustPython/RustPython/pull/7358/files#diff-097fe98e7d715aa8f1b0a950ceee8aac99b9322d1916386c8f9b24784dca3cb7 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 5, 2026 | https://github.com/RustPython/RustPython/pull/7358#discussion_r2890174176 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 5, 2026
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3896875360 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7358/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3896875360 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 571ac6b | https://github.com/RustPython/RustPython/commit/571ac6bc492a4dc45e250edfbc6f9bdb0819155c |
| 32ac79a | https://github.com/RustPython/RustPython/commit/32ac79a3123ff49b18c1499f1ca4d30fda5cb8cb |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 5, 2026
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3898659025 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7358/files |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3898659025 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 1d38d7d | https://github.com/RustPython/RustPython/commit/1d38d7daaf8798107eb46b03cafd002cef055d09 |
| 7bd9764 | https://github.com/RustPython/RustPython/commit/7bd9764901e770127289f8295f396352889b31b5 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| crates/codegen/src/ir.rs | https://github.com/RustPython/RustPython/pull/7358/files#diff-d8c69d86dba0a1bbfb21c9d93371294ea2861a4083565b20e622a7bec7da1ecc |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
|
| https://github.com/ShaharNaveh |
| Newtype ConstIdx, Constants | https://github.com/RustPython/RustPython/pull/7358/commits/aa607b2645353b84b68f9e1d34b1f86347565b31 |
| aa607b2 | https://github.com/RustPython/RustPython/pull/7358/commits/aa607b2645353b84b68f9e1d34b1f86347565b31 |
| https://github.com/ShaharNaveh |
| ShaharNaveh | https://github.com/ShaharNaveh |
| force-pushed | https://github.com/RustPython/RustPython/compare/a986d557c51359c69673869a554d09f0c3b15b2f..aa607b2645353b84b68f9e1d34b1f86347565b31 |
| a986d55 | https://github.com/RustPython/RustPython/commit/a986d557c51359c69673869a554d09f0c3b15b2f |
| aa607b2 | https://github.com/RustPython/RustPython/commit/aa607b2645353b84b68f9e1d34b1f86347565b31 |
|
Compare
| https://github.com/RustPython/RustPython/compare/a986d557c51359c69673869a554d09f0c3b15b2f..aa607b2645353b84b68f9e1d34b1f86347565b31 |
| March 6, 2026 08:45 | https://github.com/RustPython/RustPython/pull/7358#event-23325822459 |
|
| https://github.com/ShaharNaveh |
| Set generic | https://github.com/RustPython/RustPython/pull/7358/commits/c17bd4924b1751965b427032a4b5459fcffbbb50 |
| c17bd49 | https://github.com/RustPython/RustPython/pull/7358/commits/c17bd4924b1751965b427032a4b5459fcffbbb50 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
|
Mar 6, 2026
| https://github.com/RustPython/RustPython/pull/7358#pullrequestreview-3904296117 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/7358/files/1139157aa8d2caf0a946f7a056ed0ecd1d5a5221 |
|
| https://github.com/ShaharNaveh |
| Merge remote-tracking branch 'upstream/main' into bytecode-consti-new… | https://github.com/RustPython/RustPython/pull/7358/commits/1139157aa8d2caf0a946f7a056ed0ecd1d5a5221 |
| 1139157 | https://github.com/RustPython/RustPython/pull/7358/commits/1139157aa8d2caf0a946f7a056ed0ecd1d5a5221 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 82e9b5d | https://github.com/RustPython/RustPython/commit/82e9b5d9e1b36cb5bf130059511b78d2245f26d2 |
| Mar 9, 2026 | https://github.com/RustPython/RustPython/pull/7358#event-23381290835 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 11, 2026
| https://github.com/RustPython/RustPython/pull/7358#ref-pullrequest-4056855260 |
|
Newtype var_num oparg
#7400
| https://github.com/RustPython/RustPython/pull/7400 |
| youknowone | https://github.com/youknowone |
|
Mar 22, 2026
| https://github.com/RustPython/RustPython/pull/7358#ref-commit-753a026 |
|
| https://github.com/ShaharNaveh |
| Newtype ConstIdx, Constants ( | https://github.com/youknowone/RustPython/commit/753a0267876d1d899582ea389aaf172c4a40d5b9 |
| RustPython#7358 | https://github.com/RustPython/RustPython/pull/7358 |
| ) | https://github.com/youknowone/RustPython/commit/753a0267876d1d899582ea389aaf172c4a40d5b9 |
| 753a026 | https://github.com/youknowone/RustPython/commit/753a0267876d1d899582ea389aaf172c4a40d5b9 |
|
#[newtype_oparg] derive macro
#7489
| https://github.com/RustPython/RustPython/pull/7489 |
|
Compiler parity: docstring dedent, StopIteration wrapper, constant folding
#7530
| https://github.com/RustPython/RustPython/pull/7530 |
|
Bytecode parity
#7535
| https://github.com/RustPython/RustPython/pull/7535 |
| 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%2F7358 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/RustPython/RustPython/pull/7358/files/7bd9764901e770127289f8295f396352889b31b5 |
|
| https://github.com/youknowone |
|
youknowone
| https://github.com/youknowone |
|
| https://github.com/RustPython/RustPython/pull/7358/files/1139157aa8d2caf0a946f7a056ed0ecd1d5a5221 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/7358 |
|
| 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 |