| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b8babb4e-7d4e-4b72-9c69-6f0982c9ac53 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB0A:2BE220:2FEB61D:3FF1A3E:6B01E6BD |
| html-safe-nonce | b5e283905b7102ae88b435dd99661555bcfc8cebf26cb2f328a011d5ba480248 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjBBOjJCRTIyMDoyRkVCNjFEOjNGRjFBM0U6NkIwMUU2QkQiLCJ2aXNpdG9yX2lkIjoiNjY2NDM1OTI2MTU5NTg4NzI5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | df8602305bde36d46075eb6ac9f3c5efeebdf633ced6569fb497654cb15243c1 |
| hovercard-subject-tag | pull_request:4187149872 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8431/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Summary
Flatten the Python-to-Python call path so that CallPyExactArgs and CallBoundMethodExactArgs no longer recurse through new Rust stack frames. Instead, the bytecode loop returns a TailCall si... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/8431/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8431%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8431%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 |
| Reload | https://github.com/RustPython/RustPython/pull/8431/files |
| Reload | https://github.com/RustPython/RustPython/pull/8431/files |
| Reload | https://github.com/RustPython/RustPython/pull/8431/files |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests133 (133) | 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 and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:flatten-eval-loop | https://github.com/youknowone/RustPython/tree/flatten-eval-loop |
|
Conversation
43
| https://github.com/RustPython/RustPython/pull/8431 |
|
Commits
10
| https://github.com/RustPython/RustPython/pull/8431/commits |
|
Checks
26
| https://github.com/RustPython/RustPython/pull/8431/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/8431/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
|
Flatten Python eval loop with trampoline for reduced call overhead
| https://github.com/RustPython/RustPython/pull/8431/files#top |
|
Show all changes
10 commits
| https://github.com/RustPython/RustPython/pull/8431/files |
|
2fc29ce
Factor with_iframe into enter_iframe/exit_iframe helpers
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/2fc29ced2f9a391bc973f7745b8c33fff4bd6787 |
|
b581c90
Allocate InterpreterFrame and LocalsPlus together on the datastack
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/b581c9007515358f1b10f4946e6bba33ac2dde1f |
|
b089987
Implement trampoline loop for Python-to-Python calls
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/b089987cfabe8ec96492f2717888bee880ea797e |
|
cdc0d32
Optimize trampoline: skip recursion check, avoid temporary_refs mutex…
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/cdc0d32ed9d6b739b2a311ddc5fbe384c7608cea |
|
d00c250
Use UnsafeCell for pending_tailcall_refs
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/d00c2506f08e54764589fac844a716ac829fbeeb |
|
e0fea23
Remove .claude/settings.json from tracking
youknowone Aug 1, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/e0fea234d2b07aeed470eafd39d8dce8beec4326 |
|
80028a8
Replace SendPtr with Option for type-safe pending tailcall
youknowone Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/80028a80a68c74c4a359240d21cb75d8750e52ae |
|
0bb5668
Restrict PendingFrame to private, expose only set/take methods
youknowone Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/0bb5668d30ae58b3a6eca770745ad2a852fb2a17 |
|
a561f48
Restore C-stack overflow check in trampoline enter_iframe_unchecked
youknowone Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/a561f48367935ad2ae01c7f4019ee3c402107440 |
|
a2e9a49
Address code review: entry frame double-free, panic safety, cleanup
youknowone Aug 2, 2026
| https://github.com/RustPython/RustPython/pull/8431/commits/a2e9a49e70380a79172b2f63c02ecde096f87f28 |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/8431/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
|
settings.json
| https://github.com/RustPython/RustPython/pull/8431/files#diff-f27ac6f39d89fe021c56900069198aa7d9968f2cd6645c00b11ffd1b78fcf546 |
|
function.rs
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
coroutine.rs
| https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
|
frame.rs
| https://github.com/RustPython/RustPython/pull/8431/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb |
|
mod.rs
| https://github.com/RustPython/RustPython/pull/8431/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74 |
|
thread.rs
| https://github.com/RustPython/RustPython/pull/8431/files#diff-0bfe10fdb30f1f6c60e31b36e738b86cd68863aeb8113c4c1eadec33e90caf8d |
| .claude/settings.json | https://github.com/RustPython/RustPython/pull/8431/files#diff-f27ac6f39d89fe021c56900069198aa7d9968f2cd6645c00b11ffd1b78fcf546 |
|
View file
| https://github.com/RustPython/RustPython/blob/9dff4d3a99cd06cea8062ec8b3bff4cd3f712163/.claude/settings.json |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
| crates/vm/src/builtins/function.rs | https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
View file
| https://github.com/youknowone/RustPython/blob/a2e9a49e70380a79172b2f63c02ecde096f87f28/crates/vm/src/builtins/function.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8431/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698 |
| crates/vm/src/coroutine.rs | https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
|
View file
| https://github.com/youknowone/RustPython/blob/a2e9a49e70380a79172b2f63c02ecde096f87f28/crates/vm/src/coroutine.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/8431/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
|
| https://github.com/RustPython/RustPython/pull/8431/files#diff-d340edfa654334043dbe24788ce03de191ca484a34ae73e24ffb582575310bc0 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8431/files |
|
| 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 |