Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

Preserve `str` subclass results from `__repr__` in plain `str()`

#7454Closed
Comparing
copilot/fix-str-subclass-type-issue
(
c2e6947
) with
main
(
3191eca
)
CodSpeed Performance Gauge
-22%
Regression
2
Untouched
64

Benchmarks

2 total
gc_collect.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-29%
1.7 s2.5 s
gc_traversal.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-14%
688.1 ms802.3 ms

Commits

Click on a commit to change the comparison range
Base
main
3191eca
-22.11%
Align test_str with CPython and move local coverage
c2e6947
8 months ago
by Copilot
© 2026 CodSpeed Technology
Home Terms Privacy Docs