Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
485c406
builtins: layout-checked object.__new__, buffer request kinds, and si…
youknowone Aug 5, 2026
dd6f9d4
bytearray: compare against any BUF_SIMPLE exporter, not only bytes-like
youknowone Aug 5, 2026
2a1bccc
builtins: metaclass one-argument guard, declaring-type arity names, a…
youknowone Aug 5, 2026
567fc41
typedef: restore the fully-qualified name in the empty-slot Attribute…
youknowone Aug 5, 2026
66516fe
jit: virtualize BUILD_TUPLE at arity 2 and seed a `*args` callee's va…
youknowone Aug 5, 2026
29d4c39
bench: re-record the jitstats baselines the rebase left disagreeing
youknowone Aug 6, 2026
732c7f6
bench: mark the thirteen fixtures cpython cannot usefully run
youknowone Aug 6, 2026
36390dd
parity: cover the arity-2 specialised tuple consumers
youknowone Aug 6, 2026
a2ebe15
objspace: compare same-class specialised tuple pairs on their raw slots
youknowone Aug 6, 2026
8c058a7
bench: re-record the synthetic jitstats baselines from a fresh LLBC
youknowone Aug 6, 2026
1648b59
builtins: check the metatype is a type before naming it in type.__new__
youknowone Aug 6, 2026
46f1d8d
baseobjspace: hand the buffer request kind's flags to a `__buffer__` …
youknowone Aug 6, 2026
4b8b900
jit: decline the object-slot arm of the specialised-pair subscript fold
youknowone Aug 6, 2026
8294c51
bench: restore the sre_wasm_min1 jit-stats baselines to what this tre…
youknowone Aug 6, 2026
085da26
bench: re-record getattribute_override_no_bind's wasm jit-stats baseline
youknowone Aug 6, 2026
a5d1aed
jit: seed the vararg tuple into the inlined callee's concrete frame
youknowone Aug 6, 2026
16e1b66
type_methods: word the fill-character refusal per padding method
youknowone Aug 6, 2026
5f64fbd
builtins: prebuild the default encoding `str` hands to bytes.decode
youknowone Aug 6, 2026
16e2ee8
type_methods: report a non-bytes fill operand the way decode_object does
youknowone Aug 6, 2026
2d749b6
type: precheck the metatype on the four-argument type.__new__ path
youknowone Aug 6, 2026
f3cf797
jit: decline the arity-2 BUILD_TUPLE virtualization
youknowone Aug 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion lib-python/3/test/test_descr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,8 @@ class D(C):
self.assertEqual(b.foo, 3)
self.assertEqual(b.__class__, D)

@unittest.expectedFailure
#@unittest.expectedFailure --- on CPython. On PyPy, the test passes
@support.impl_detail(cpython=False)
def test_bad_new(self):
self.assertRaises(TypeError, object.__new__)
self.assertRaises(TypeError, object.__new__, '')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/abstractmethods_nonstring_name.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/aiter_anext.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/aiter_anext.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/aiter_anext.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/arith_int_bool.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=2211
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/arith_int_bool.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=2211
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/array_deopt_resume.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/array_deopt_resume.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/array_deopt_resume.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/assert_in_loop.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=200
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/assert_in_loop.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=200
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/assert_in_loop.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=200
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/ast_compile_roundtrip.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/ast_compile_roundtrip.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/ast_compile_roundtrip.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_cache_invalidation.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1002
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_cache_invalidation.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1002
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_cache_invalidation.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1002
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_delete.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_delete.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_delete.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_instance_shadows_class.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_instance_shadows_class.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_add_transition.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_add_transition.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_add_transition.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# pyre-check: max-pypy-ratio=5
# pyre-check: skip-cpython
# cpython >5s (it already timed out) vs pyre 0.20s, and it is not gated on — only pypy is.
# STORE_ATTR that ADDS an attribute not yet in the instance's map: the
# `map -> PlainAttribute` transition plus the grow-by-one storage rewrite
# (mapdict.py:942-959 `_set_mapdict_increase_storage1`). The values are
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_add_transition.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_cache.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_cache.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/attr_store_cache.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=1
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/bases_reassign_cache.cranelift.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/bases_reassign_cache.dynasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
2 changes: 2 additions & 0 deletions pyre/bench/synth/bases_reassign_cache.wasm.jitstats
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=0
internal_compile_panics=0
loops_aborted=0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
bridges_compiled=5
bridges_compiled=6
descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
guard_failures=647
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=686
internal_compile_panics=0
loops_aborted=0
loops_compiled=5
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
bridges_compiled=5
bridges_compiled=6
descr_set_absent=0
descr_set_ambiguous=0
descr_set_stale_absent=0
fbw_rolled_back_with_effects=0
guard_failures=647
field_pos_attached_misplaced=0
field_pos_spec_misplaced=0
guard_failures=686
internal_compile_panics=0
loops_aborted=0
loops_compiled=5
Loading
Loading