Skip to content

feat: traceback integration - #6342

Open
flying-sheep wants to merge 5 commits into
PyO3:mainfrom
flying-sheep:traceback
Open

flying-sheep wants to merge 5 commits into
PyO3:mainfrom
flying-sheep:traceback

Conversation

@flying-sheep

@flying-sheep flying-sheep commented Aug 22, 2026

Copy link
Copy Markdown

Fixes #1066

TODO: figure out how to do eyre support. color-eyre and stable-eyre have backtraces, but adding all that would add a bunch of features, so I’d welcome some guidance.

@davidhewitt davidhewitt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh thanks, interesting!

Comment thread src/conversions/anyhow.rs Outdated
Comment thread src/conversions/anyhow.rs
Comment thread Cargo.toml Outdated
Comment thread src/conversions/anyhow.rs
Co-authored-by: Bas Schoenmaeckers <7943856+bschoenmaeckers@users.noreply.github.com>
@codspeed

codspeed Bot commented Sep 17, 2026

Copy link
Copy Markdown

Merging this PR will degrade performance by 18.12%

❌ 4 regressed benchmarks
✅ 137 untouched benchmarks
⏩ 6 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
into_u128_small 820.5 ns 1,095.5 ns -25.1%
into_u128_zero 816 ns 1,035.5 ns -21.19%
into_i128_small_pos 932.8 ns 1,096.7 ns -14.94%
into_i128_zero 928.3 ns 1,036.6 ns -10.45%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing flying-sheep:traceback (ebea22f) with main (74d16b0)

Open in CodSpeed

Footnotes

  1. 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@flying-sheep

Copy link
Copy Markdown
Author

All done. What I didn’t do is integrate anyhow’s “context” in some way, as I’m not sure how that would look like.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python backtrace integration with Rust's Backtrace API

3 participants