Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

add `PyObject_HasAttrWithError` & use it in `PyAnyMethods::hasattr`

#5944Merged
Comparing
bschoenmaeckers:hasattr
(
93314b5
) with
main
(
8a00673
)
CodSpeed Performance Gauge
+15%
Improvement
1
Untouched
104
Ignored
21
Skipped
1

Benchmarks

1 total
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::criterion_benchmark
Skipped
40.5 µs*

Commits

Click on a commit to change the comparison range
Base
main
8a00673
-0.19%
add `PyObject_HasAttrWithError` & use it in `PyAnyMethods::hasattr`
463442f
1 month ago
by bschoenmaeckers
-0.23%
Remove comment
c484a75
1 month ago
by bschoenmaeckers
+15.9%
Add back `inner` function
93314b5
7 days ago
by bschoenmaeckers
© 2026 CodSpeed Technology
Home Terms Privacy Docs