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

Make `kw_only=True` behavior consistent with dataclasses

#1457Merged
Comparing
huzecong:new-kw-only
(
cc4517d
) with
main
(
e3371bf
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_eq_unequal
bench/test_benchmarks.py::test_eq_unequal
CodSpeed Performance Gauge
0%
675.8 µs
675.8 µs
test_instantiate_no_defaults
bench/test_benchmarks.py::test_instantiate_no_defaults
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
test_instantiate_with_defaults
bench/test_benchmarks.py::test_instantiate_with_defaults
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
test_eq_equal
bench/test_benchmarks.py::test_eq_equal
CodSpeed Performance Gauge
0%
885.8 µs
885.9 µs
test_hash
bench/test_benchmarks.py::test_hash
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
test_create_frozen_class
bench/test_benchmarks.py::test_create_frozen_class
CodSpeed Performance Gauge
0%
1.3 s
1.3 s
test_create_simple_class
bench/test_benchmarks.py::test_create_simple_class
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_create_simple_class_make_class
bench/test_benchmarks.py::test_create_simple_class_make_class
CodSpeed Performance Gauge
0%
1 s
1 s

Commits

Click on a commit to change the comparison range
Base
main
e3371bf
-0.02%
initial change
01ddf3d
26 days ago
by huzecong
0%
move comment
8593d4a
26 days ago
by huzecong
+0.01%
fix docs
d19e543
25 days ago
by huzecong
-0.01%
Apply suggestions from code review Co-authored-by: Hynek Schlawack <hs@ox.cx>
61d35f3
24 days ago
by huzecong
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
8e82a68
24 days ago
by pre-commit-ci[bot]
0%
Add changelog
ff4ff1e
24 days ago
by huzecong
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
bc6d427
24 days ago
by pre-commit-ci[bot]
0%
Merge branch 'main' into new-kw-only
fd2011f
24 days ago
by huzecong
0%
Address comments
41ac97a
23 days ago
by huzecong
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
cc4517d
23 days ago
by pre-commit-ci[bot]
© 2025 CodSpeed Technology
Home Terms Privacy Docs