René's URL Explorer Experiment


Title: jit: deoptimize instead of trapping or wrapping, and add an aot feature by youknowone · Pull Request #8624 · RustPython/RustPython · GitHub

Open Graph Title: jit: deoptimize instead of trapping or wrapping, and add an aot feature by youknowone · Pull Request #8624 · RustPython/RustPython

X Title: jit: deoptimize instead of trapping or wrapping, and add an aot feature by youknowone · Pull Request #8624 · RustPython/RustPython

Description: Two changes that belong together: the JIT's arithmetic stops giving answers the interpreter would not give, and a new aot feature compiles eligible functions on their first call. The second is only safe because of the first. __jit__() was opt-in, so its wrong answers and its SIGILLs were the caller's problem. Compiling automatically makes them everyone's. Deoptimization instead of trapping or wrapping Every arithmetic operation that could leave the machine's 64-bit world now tests its own precondition before it computes. When the test fails the compiled code writes the live locals and the value stack into a buffer the caller passed in, and returns. The interpreter rebuilds the frame from that record and re-executes the instruction that owns the guard, from its start — so the bignum, the exception, or the complex number comes from the interpreter, which is the only thing that knows how to produce it. The record is a flat buffer: slot 0 is the status (0 = returned normally, otherwise it identifies the guard that fired), slot 1 is the bound mask, and slots 2 and up are the listed locals in varname order followed by the value stack. Guards whose site cannot describe every local that could be bound there return Outcome::Restart instead, and the interpreter runs the function from the top. Guarded: +, -, unary -, *, //, %, **, <<, >>, /, and float / and **. The masks are tight rather than conservative — integer ** is square-and-multiply and computes products it then discards, so each multiplication's guard is masked with the condition under which its product is actually read; guarding on the bare overflow flag would deoptimize 2 ** 33. What that fixes before after 1e100 ** 1e50 under __jit__() SIGILL, process death OverflowError 2 ** -2 0 0.25 (1 << 62) * 4 wrapped the bignum 1.0 / 0.0 a float infinity ZeroDivisionError (-8.0) ** 0.5 a float complex -x at -2**63 wrapped the bignum sys.settrace over a compiled call no events the full event list extra_tests/snippets/jit.py runs the whole table by exec'ing a fresh pair of functions per case, JIT-compiling one, and comparing value, exception type, and result type. The aot feature Off unless built with --features aot, and then -X aot=0 or RUSTPYTHON_AOT=0 turns it off again. Default builds are untouched. With it on, a function is counted as it is called and offered to the compiler once it has been called often enough to repay one, on the types the arguments of that call carry. A pre-filter rejects what the compiler cannot lower before any compilation is attempted; compile() re-checks independently rather than trusting it. Types come from the call rather than from annotations because almost nothing is annotated the way the compiler needs: seven functions in the whole of Lib/ annotate every parameter and the return int, float or bool, and the compiler turns all seven down for other reasons. A call carries the types the function is actually being used with, and every argument handed to compiled code is type-checked, so a guess that turns out wrong costs a fall back to the interpreter rather than a wrong answer. __jit__() still reads annotations. Waiting for a function to be warm is also what makes the feature free when it finds nothing: the eligibility scan used to be spent on every function a program calls once, which is most of them. The automatic path is strict where the explicit one is permissive: it refuses to compile a self-call into a direct call, because the interpreter re-reads the global on every call and a name rebound later — a decorator, a test patch — would make the compiled call disagree. Calls are interpreted, not compiled, while a tracer or a sys.monitoring tool is installed, so debugging and profiling see every event they would see without the feature. The README's JIT section now covers both forms — the jit feature's explicit __jit__() and the aot feature's automatic path — with the switches, the sys._jit introspection, and what the automatic path takes and turns down. Verification cargo test -p rustpython-jit — 123 tests extra_tests/snippets/jit.py, and aot.py under -X aot=1 and -X aot=0, both added to the Linux CI job; aot.py warms each function with the arguments the assertion under it means to test, so the assertions run against compiled code a differential fuzzer on the automatic path: 2,000 generated functions, 14,000 comparisons against the interpreter, 0 divergences Known limitations Control-flow merges reached with a non-empty stack are refused. The compiler does not reconcile its abstract value stack at a merge, so a conditional expression used inside a larger expression is not compiled at all. This is a stopgap for a latent wrong-answer bug that predates this branch — (a if b else c) + (b if c else a) on (1, 2, 3) compiled to 5 where the interpreter and CPython both say 3. Proper reconciliation (snapshot the stack at first arrival, pass the entries as block parameters) is follow-up work. Statement-level if, if/else and while are unaffected, and the rule costs nothing measurable: the 24-function numeric corpus and every function the automatic path attempts at startup behave identically with and without it. Little real code qualifies. Counted with sys._jit._stats() over the workload itself rather than estimated: importing 25 stdlib modules compiles 0 of 87 functions the compiler is asked about, and nbody, mandelbrot, fannkuch, nqueens, pidigits, richards, deltablue, float and json_loads compile 0 of 1, 1, 1, 1, 4, 19, 40, 3 and 26. Walking every function body in Lib/ through the pre-filter says why: LOAD_ATTR blocks 42%, an exception table 14%, a closure 6%, and of the 6.3% that get through, 50 take an argument and do arithmetic and are longer than ten instructions. Opening those needs the interpreter inside compiled code, which is a different compiler. What it does reach is unannotated numeric code, which it could not touch before: three such functions run 1.7x, 2.2x and 27x faster here. And it is now free where it finds nothing — the same import-heavy startup costs the same with the feature on as with it off, against 6.8% more when every function was scanned on its first call. Benchmarking with aot on measures that it does not break, not that it is faster. Leaving a compiled loop A compiled loop used to run to its end whatever the interpreter wanted of the thread: it answered no pending signal, parked for no stop-the-world, and did not stop when the interpreter began shutting down. That is worse than a delayed SIGINT. A gc.collect() from another thread, or the shutdown that joins a daemon thread, waits for every other thread to reach a safepoint — so a thread inside a compiled loop hung the process outright. Both reproduce in a dozen lines and both are fixed here. Every reason a thread has to leave the bytecode loop now sets a bit in the eval-breaker word before it becomes true of any single thread: a stop-the-world span while it is open, and shutdown once it starts. A backward jump loads that byte and leaves through the deopt exit when it is not zero. Leaving that way is no verdict on the code, so the code stays installed and only the interrupted call finishes interpreted — Outcome::Interrupted, as against the Outcome::Deopt a guard produces, which still drops the code. The fall-through is a load, a compare and a branch per iteration. extra_tests/snippets/aot.py now spins a thread in a compiled loop and collects from the main thread, and the CI suite step runs test_threading with the feature on. Neither asserts anything: both either return or they do not. Both bits are spans in a word every interpreter in the process shares, so both are counted rather than set: a subinterpreter is finalized while the interpreter that owns it is finalizing, and a stop-the-world can be open in two interpreters at once. A bit left behind is not a correctness bug but an expensive one - the interpreter that outlives the span reads a non-zero word on every instruction and takes the eval-breaker slow path for the rest of the process, which measured 78 ms against 212 ms for the same integer loop. Two interpreter bugs found in passing, now fixed 0 / -1 gave 0.0 where CPython gives -0.0 — a rational carries no signed zero, and only an exactly zero numerator lost the sign this way. 0.0 ** -0.0 raised ZeroDivisionError where CPython gives 1.0, and (-0.0) ** 0.5 went to the complex branch where CPython gives 0.0: float_pow asked is_sign_negative, which is true of -0.0. The compiled code agreed with CPython on all three and disagreed with the interpreter, which is the wrong way round for a compiler whose contract is that it changes nothing. Every commit carries an Assisted-by: Claude trailer — the branch was written with Claude Code and reviewed per task and then as a whole. Summary by CodeRabbit New Features Added optional ahead-of-time compilation for eligible Python functions, configurable with -X aot, RUSTPYTHON_AOT, or PYTHON_JIT. Added JIT status and compilation statistics through sys._jit. Added interruption handling so compiled loops can respond to runtime stop requests. Improved frame inspection across threads, including line numbers and caller frames. Bug Fixes Compiled code now safely falls back to the interpreter for unsupported or exceptional arithmetic cases. Preserved signed negative zero in true division and corrected floating-point power edge cases. Documentation Expanded JIT and AOT configuration, behavior, and fallback documentation.

Open Graph Description: Two changes that belong together: the JIT's arithmetic stops giving answers the interpreter would not give, and a new aot feature compiles eligible functions on their first call. The second is ...

X Description: Two changes that belong together: the JIT&#39;s arithmetic stops giving answers the interpreter would not give, and a new aot feature compiles eligible functions on their first call. The second...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:b2798431-1ab0-3ef4-d53c-4952e8d94a11
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC554:8AE25:1564FF9:1C5B03D:6B01FE62
html-safe-nonced4dd087f060c21c0e11f583a82a82fc9e227c9b8acb52f501c4b2cf14312f6e9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTU0OjhBRTI1OjE1NjRGRjk6MUM1QjAzRDo2QjAxRkU2MiIsInZpc2l0b3JfaWQiOiI3Nzg4MDIyOTk4MDEwODIyMjQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9633569d5986df6a10eaaee5ab08dafc96c8293976dd0c14889da9d0e34c9025
hovercard-subject-tagpull_request:4401530513
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/8624/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:altTwo changes that belong together: the JIT's arithmetic stops giving answers the interpreter would not give, and a new aot feature compiles eligible functions on their first call. The second is ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8624/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8624%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8624%2Ffiles
Sign uphttps://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/8624/files
Reloadhttps://github.com/RustPython/RustPython/pull/8624/files
Reloadhttps://github.com/RustPython/RustPython/pull/8624/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
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
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:jit-deopt-guardshttps://github.com/youknowone/RustPython/tree/jit-deopt-guards
Conversation 17 https://github.com/RustPython/RustPython/pull/8624
Commits 57 https://github.com/RustPython/RustPython/pull/8624/commits
Checks 0 https://github.com/RustPython/RustPython/pull/8624/checks
Files changed https://github.com/RustPython/RustPython/pull/8624/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8624/files
jit: deoptimize instead of trapping or wrapping, and add an aot feature https://github.com/RustPython/RustPython/pull/8624/files#top
Show all changes 57 commits https://github.com/RustPython/RustPython/pull/8624/files
b2eb0c9 jit: compile into a shared module owned by JitEngine youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/b2eb0c98ccda9639bb21367dc1a6ceb21da3d4c9
5d91aa7 jit: add a Strict safety level that rejects diverging operations youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/5d91aa77d31d516a8e8a16bc595fbecdc170b3a5
31e83df jit: add supports_code as a pre-filter for speculative callers youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/31e83df1cf89e9b962bbe82c8882dc94a7f199bb
0cd8c40 vm: add an aot feature that compiles functions on their first call youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/0cd8c40944f63a7b13cf5895be2e63aafbe74101
dcedf97 jit: reject the compiled self-call under Strict youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/dcedf971cacc3e4ebfea1729218ba65b8c5ca2ed
6d5811f ci: build with aot and run the snippet in both modes youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/6d5811f2deec454afe4768c87b379d621613b425
595717a vm: let an interrupt out of a speculative annotation read youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/595717acebf6e8f4b27e53a22b3f0e8dbba365a2
a425fa1 extra_tests: gate the aot snippet on a RustPython-only symbol youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/a425fa106c65f9f94938e0e82432648cf74ce106
8c8ecdd jit: build the libffi cif once per compiled function youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/8c8ecdddb6d4f786f76161635450bee2a061382e
b836043 jit: fold the two LoadGlobal rejections into one condition youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/b836043d46edb8f4e15a513d9a2266dd91a30ea7
69532d1 jit: call compiled code through a generated entry point youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/69532d1d8a86705b646b218d382ac8143b78dd03
5009642 vm: trim the jit call path and its build warnings youknowone Aug 24, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/5009642d7c68ada277f25d21e50e1cde85b483c6
1c88aa9 vm: compute f_lineno from the instruction pointer youknowone Aug 25, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/1c88aa9b2fefbf1040a56bd856dc7599e8a90582
11f9879 jit: pin down what a conditionally-defined local compiles to youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/11f98794856d486752a30a31fe33894c158dd963
8b40262 jit: pass a deopt buffer through the call boundary youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/8b40262023f983e1c0a0884f7a770b4c745ea232
eb40ea9 jit: spill locals and the value stack at a deopt site youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/eb40ea9c0deec76b46d0181787f3cc6102ce2573
5f3d697 jit: deoptimize instead of trapping or wrapping on int overflow youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/5f3d697a869675f73f1e393438b2b24b1001bc31
4982e31 jit: correct the bound-mask comment in the deopt buffer layout youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/4982e3121a7bf7a6ac55f2c09e313c156e0f1dea
f0dd84d jit: floor int division and take the divisor's sign for the remainder youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/f0dd84d58be5b1b08a2425654abc01ac44bb9e65
e812d68 jit: derive the floor-division remainder from the quotient youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/e812d68eb1dcaeaff72e143b66d82c31997ae6bb
2b73190 jit: deoptimize where a power or a float division leaves the reals youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/2b731905efdaa78d2039935b50c6716086a341e9
cf22801 jit: close the float power trap and its remaining wrong answers youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/cf22801a4b72e63c932680266d67bd1bce47d34b
eb80261 jit: revive the 1e100 ** 1e50 crash as a deopt test youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/eb8026183e4f21e75a6982f4cb52d9b0e42cc55e
6fee874 jit: remove compile_fpow's edge cases now unreachable under the expon… youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/6fee87451d6c3539fa37fb03d3d389672805d764
ade2a6a jit: let Strict compile arithmetic now that it deoptimizes youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/ade2a6aff9ff40104ffa4b6ce07a6b3326c4d1c9
d512846 jit: replace compile_fpow's double-double pow with a call to f64::powf youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/d512846e8ee6d77feb275bcc07d092e3626e9503
d6f289d jit: give aot.py's third widening case its own compiled function, rai… youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/d6f289dd4b330d1520dd52427e60cec033f7bec8
3f2b1c8 vm: resume the interpreter from a deopt record youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/3f2b1c889ae24d75e06026c5d0a18ce898093a73
9f586ea jit: name the whole observer class for a non-resumable site youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/9f586ea1b38a6dfa64a6da764ee9014fc2c13f14
388ed1c jit: document slot 0's third status and Permissive's resolution point youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/388ed1cc4f2bb8f41a95325616716a134bf1c2a6
78862a2 extra_tests: assert compiled arithmetic answers what the interpreter … youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/78862a2233fecfc789efa718464933e0e1b22ef8
fa4c09e extra_tests: cover binary add and subtract in the equivalence table youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/fa4c09eacb6160b0852e0350d76a92cad3da20a1
2c7def5 jit: refuse a control-flow merge reached with a non-empty stack youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/2c7def5ac9562636c2288de20e6f97425160041f
9311270 vm: check a deopt record against the frame before resuming from it youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/9311270d55211d56d461bca47a2b588389cb78db
d4bd40b vm: interpret a call while a tracer or a monitoring tool is installed youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/d4bd40b6253447e80a3c5a5c99b1ee6f3362b323
10ef3a2 jit: document the safety of the checked invoke path youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/10ef3a27ff9d8adbf6a406985e78d036a282528c
9628fe2 ci: build the aot step against the locked dependency versions youknowone Aug 30, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/9628fe2bbae6b39d657d57275abbafbc8e620e4f
ec93de2 jit: make the pre-filter's merge rejection actually fire youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/ec93de2969067c04eb4a6d3be355d60edadef146
3f6f728 jit: pin the pre-filter's rejection of a mid-expression merge youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/3f6f7286f8677f3781be05e7cb7cade159c99041
46802e3 vm: report the automatic compiler from sys._jit youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/46802e3ef863af2c00e4068b3115c954ab83f2a6
15c1739 jit: move a doc comment onto the function it describes youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/15c17398347f2d1e213d7d9d29edaf3e1565a29f
713eab5 jit: keep a true-division operand of 1 << 53 compiled youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/713eab5e60c67d4a78a7c2b4e54dbc85e09296a5
9de0d3c extra_tests: assert scale's value instead of a division it does not do youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/9de0d3cae77a2ff8f1eab18ecb9c070bb89e0926
83d4ae1 ci: build the benchmarks with automatic compilation on youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/83d4ae1221289b6bafb8b4e47eb00b86de54f673
5a89f78 vm: record the traced line even where a frame carries no trace function youknowone Aug 31, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/5a89f78273b75f0572dee6ffeec8d14d395d71d1
2fcd657 vm: attach the frame object to the caller when an escaped frame returns youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/2fcd657024af56d8522932422ef0e64a99dee576
32cf3a0 vm: resolve f_back from the thread still running the frame youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/32cf3a0a5f83c18cfbaf8b0f47503abe5fa07253
a40ba85 vm: read a running frame's position from the thread running it youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/a40ba854b7ac66c3f0eddbc887183e294806dc57
39fb1eb ci: run part of the CPython suite with automatic compilation on youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/39fb1ebd9bc8bba192b7b72bb135b0f0de31d78f
30ef72b vm: set a resumed frame's offset through a method on the frame youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/30ef72b1d9b4ecdd4b7585a3adca8cdaad1b1b4b
8a8fa85 jit: poll the eval breaker at every backward jump youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/8a8fa85ee598fc39b70af119e968f71d46dd62ac
053f630 vm: decide a float power by its operands' values, not their sign bits youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/053f6303c4e2765f609c04bbe58a966e4a09951a
6fa0b7f common: keep the sign of a zero quotient youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/6fa0b7f42febbd5a417addb8fe3a91c45163f68c
c31469b docs: describe what the automatic compiler takes and turns down youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/c31469b7baaa9e1a6468701c5e4d6c98fdac94cf
09b3583 vm: end the finalizing span with the shutdown that opened it youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/09b35839e791cb530ce85dbd9099d136b54ef6e7
cb70c1d ci: build the benchmarks without automatic compilation again youknowone Sep 2, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/cb70c1dbafe1e6a1b01c7a4a132dc78dc340eeaa
831b29a vm: compile a function once it is warm, on the types its calls pass youknowone Sep 3, 2026 https://github.com/RustPython/RustPython/pull/8624/commits/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e
Clear filters https://github.com/RustPython/RustPython/pull/8624/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8624/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8624/files
rust-more.txt https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
.cspell.json https://github.com/RustPython/RustPython/pull/8624/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
ci.yaml https://github.com/RustPython/RustPython/pull/8624/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Cargo.lock https://github.com/RustPython/RustPython/pull/8624/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
Cargo.toml https://github.com/RustPython/RustPython/pull/8624/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
README.md https://github.com/RustPython/RustPython/pull/8624/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
pyframe.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-ed6e7e7532321f154cc13ccc0222cfd5400dc53e706694d76a9b919ad507fa3c
int.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-9c2c3b9ee2961279f43d15412c69ccdd28d05d8e64db8f6e6d71a0a2b51959fb
Cargo.toml https://github.com/RustPython/RustPython/pull/8624/files#diff-3ec29edf43eef4fc2fe95c3655a99d3e388f43dbe109c17290874e79ac9ee9b1
instructions.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-36e044ffddf2822f0ab8bcb6bdf445990493bcb699f03d651634bdb5f9f360c9
lib.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-6f8c0064e31f9292f923cf9cd8d68123c9cd542f2c469855c8835d4ea7b9b75e
common.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-097fe98e7d715aa8f1b0a950ceee8aac99b9322d1916386c8f9b24784dca3cb7
deopt_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-84d11144ab721d0ff177e5571ab15b4ca5f33c4636061f7469a705c5dc0cf79f
engine_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-8760df53cb6ac1d6757da75fcea83b69b456b40d2e3349321e2897d4d174da72
float_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-ca18e396ff95ce3b680a16f7b8164b7cee259236f8badeb880d55b4a22126678
int_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-f19d91f55ff8573b7a68ed3d7e00b2b5e7b030106073260f8c3bf657efea0777
lib.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-bc461770c6d8ffd2271b55c2ee2ee8d9626ca894c664f01767bc52dcf2e33a58
misc_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-9df44b66378e9991cbfac5d38857dccf63001a2ee246b8b356d8ec46ba0917d7
safepoint_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-1e004b4605f07bb523b4241e91a353dc690a20d876254324d5864547302a737c
safety_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-be8b3e6835fecda23c02d3fff23179766482ca602b3410d9cd55fe25f514bdf6
support_tests.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-a7c1f206e82251a4919c99f839e953956815075f62bf693b71d50b04e0acfaaa
Cargo.toml https://github.com/RustPython/RustPython/pull/8624/files#diff-ccc3290f8eb6dbc476c8aad5c1586bf96837946b852e683ee8f21e4df91dc140
code.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-77c714638c90d3ce93194eec52bdefe7301d53f84d90a45c87289b21a11383f9
float.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-4deb5676286995e76a9c87099407a5d64a7a57a6ee9ca97a059e79e649bc0dca
frame.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-09150c655df9106b20586b7dfade4f95653d7511e9685ae55442be6c76219d13
function.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-42d321490bc76e3b57deebb41ff9815e8bbb7c976bb1b57a076d01f7bc347698
aot.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-36cede57dde9426f738eae0ded53843feee1fd7a28c801685a75dfbefd7cb5ef
jit.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-878469611632f7efe766e915fd08f48ef5bc511c38b139666520cd5ba2e9f281
frame.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
signal.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-8f647854e4313a46abb2732c90b0e631a66a98d32423bbe1f306db05ab4e72de
sys.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-e7f7c10b81f88d7af77af76257284e18e72ed9da63ff63675a9e9cb31c8d262d
interpreter.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-2361f366cc46771907dbd3b09eb8b9c839e7f059710345f2265c1753862a1b20
mod.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
setting.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-9fc754581ca0739d7d6441cd6c1ce8bdd83220b0e7f71517c33aaffb622390f5
warn.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-22d3978eb88444056684ad4261511b3050298958668e928e161d751479c21dd1
aot.py https://github.com/RustPython/RustPython/pull/8624/files#diff-adcea13fa42c8d50f21dd37ec4ebe60e3e20b43fd58bfbe8a2b7d72f224ae8f3
jit.py https://github.com/RustPython/RustPython/pull/8624/files#diff-5594a881b34c9815d26ea561633c7751ff9ec4723f18cec2f4d9ee36f6f659b0
settings.rs https://github.com/RustPython/RustPython/pull/8624/files#diff-4f91d834bba4a3a432715f3ccf4ebc7c10d7ecfb974f1e78f56108dd80581a53
.cspell.dict/rust-more.txthttps://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/.cspell.dict/rust-more.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
https://github.com/RustPython/RustPython/pull/8624/files#diff-5ff146b3ee9859eb1107e9e8fe6b7a571f353a177dac4f10e9490c8529e83314
.cspell.jsonhttps://github.com/RustPython/RustPython/pull/8624/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/.cspell.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
https://github.com/RustPython/RustPython/pull/8624/files#diff-4e0f175c840784de9e935f881821905c75a2a125aa57c51268a7fb4496edfbe6
.github/workflows/ci.yamlhttps://github.com/RustPython/RustPython/pull/8624/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/.github/workflows/ci.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
https://github.com/RustPython/RustPython/pull/8624/files#diff-944291df2c9c06359d37cc8833d182d705c9e8c3108e7cfe132d61a06e9133dd
Cargo.lockhttps://github.com/RustPython/RustPython/pull/8624/files#diff-13ee4b2252c9e516a0547f2891aa2105c3ca71c6d7a1e682c69be97998dfc87e
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/Cargo.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8624/files
Cargo.tomlhttps://github.com/RustPython/RustPython/pull/8624/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
https://github.com/RustPython/RustPython/pull/8624/files#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542
README.mdhttps://github.com/RustPython/RustPython/pull/8624/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/RustPython/RustPython/pull/8624/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
crates/capi/src/pyframe.rshttps://github.com/RustPython/RustPython/pull/8624/files#diff-ed6e7e7532321f154cc13ccc0222cfd5400dc53e706694d76a9b919ad507fa3c
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/crates/capi/src/pyframe.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-ed6e7e7532321f154cc13ccc0222cfd5400dc53e706694d76a9b919ad507fa3c
crates/common/src/int.rshttps://github.com/RustPython/RustPython/pull/8624/files#diff-9c2c3b9ee2961279f43d15412c69ccdd28d05d8e64db8f6e6d71a0a2b51959fb
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/crates/common/src/int.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-9c2c3b9ee2961279f43d15412c69ccdd28d05d8e64db8f6e6d71a0a2b51959fb
https://github.com/RustPython/RustPython/pull/8624/files#diff-9c2c3b9ee2961279f43d15412c69ccdd28d05d8e64db8f6e6d71a0a2b51959fb
crates/jit/Cargo.tomlhttps://github.com/RustPython/RustPython/pull/8624/files#diff-3ec29edf43eef4fc2fe95c3655a99d3e388f43dbe109c17290874e79ac9ee9b1
View file https://github.com/RustPython/RustPython/blob/831b29a1e2acb8640f14c668e4f4c30e9fc0de2e/crates/jit/Cargo.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8624/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8624/files#diff-3ec29edf43eef4fc2fe95c3655a99d3e388f43dbe109c17290874e79ac9ee9b1
https://github.com/RustPython/RustPython/pull/8624/files#diff-3ec29edf43eef4fc2fe95c3655a99d3e388f43dbe109c17290874e79ac9ee9b1
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8624/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.