python-attrs
attrs
BlogDocs

converters: allow wrapping and passing self and fields

#1267Merged
Comparing
3-arg-converters
(
a9141ef
) with
main
(
9439769
)
0%
Improvements
0
Regressions
0
Untouched
8
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_eq_equal
bench/test_benchmarks.py::test_eq_equal
0%
873.3 µs
872.6 µs
test_hash
bench/test_benchmarks.py::test_hash
0%
1.2 ms
1.2 ms
test_eq_unequal
bench/test_benchmarks.py::test_eq_unequal
0%
672.8 µs
672.8 µs
test_create_simple_class
bench/test_benchmarks.py::test_create_simple_class
0%
1.5 s
1.5 s
test_create_simple_class_make_class
bench/test_benchmarks.py::test_create_simple_class_make_class
0%
1.5 s
1.5 s
test_create_frozen_class
bench/test_benchmarks.py::test_create_frozen_class
0%
1.7 s
1.7 s
test_instantiate_no_defaults
bench/test_benchmarks.py::test_instantiate_no_defaults
-1%
1.3 ms
1.3 ms
test_instantiate_with_defaults
bench/test_benchmarks.py::test_instantiate_with_defaults
-2%
1.3 ms
1.3 ms

Commits

Click on a commit to change the comparison range
Base
main
9439769
-1%
Check our eq works too
b367922
8 months ago
by hynek
0%
Add narrative docs
e3dbd4f
4 months ago
by hynek
0%
Fix converter overloads, add tests
2df12d8
4 months ago
by Tinche
0%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
426a00d
4 months ago
by pre-commit-ci[bot]
0%
Merge branch 'main' into 3-arg-converters
a9141ef
4 months ago
by hynek
Home Terms PrivacyDocs