You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile classes whose layout is fixed in CPython too (user-written __slots__ equal to the annotated fields, base object, trivial __init__): slot reads/writes, allocate-and-fill construction, is/None, class-typed parameters. Same results as the interpreter, including when the class or its module global changes after init.
Done when: binary-trees' make and check compile with Node declaring __slots__, outputs agree with CPython/Node/Java/Rust, the TypedPython suite passes, and the class-change scenarios (property installed after init, global rebinding, mid-body changes, watcher exhaustion) equal the interpreted module. Benchmark records CPython with and without __slots__.
Activity
b-re-w commentedon Oct 3, 2026
Landed in develop via #124.