Avatar for the python-attrs user
python-attrs
attrs
BlogDocsChangelog

Fix kw_only=True not being overridable by per-attribute kw_only=False

#1558Closed
Comparing
ShiLiguo123:fix-kw-only-override
(
43fef8c
) with
main
(
3823062
)
CodSpeed Performance Gauge
0%
Untouched
15

Benchmarks

15 total
test_first_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
+1%
6.4 ms6.4 ms
test_asdict_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
9.9 ms9.9 ms
test_astuple_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
9.4 ms9.4 ms
test_astuple_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
5.9 ms5.9 ms
test_repeated_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
0%
238 µs237.9 µs
test_instantiate_with_defaults
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_eq_equal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
854.3 µs854.2 µs
test_create_cached_property_class
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
0%
2 s2 s
test_create_simple_class_make_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 s1.2 s
test_instantiate_no_defaults
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.3 ms1.3 ms
test_hash
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_eq_unequal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
656 µs656.1 µs
test_create_simple_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 s1.2 s
test_create_frozen_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.5 s1.5 s
test_asdict_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
6.5 ms6.5 ms

Commits

Click on a commit to change the comparison range
Base
main
3823062
+0.08%
Fix kw_only=True not being overridable by per-attribute kw_only=False
43fef8c
3 days ago
by ShiLiguo123
© 2026 CodSpeed Technology
Home Terms Privacy Docs