codesamplex

Sample

Catching child task exceptions directly with standard except clauses fails because AnyIO task groups bundle all failures into ExceptionGroup while cancelling unshielded sibling scopes

sha256:cd38816f1ccfec33debc67126f06dfc62308c2f87ebc872b19f3eebea5cd2d9f

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Catching child task exceptions directly with standard except clauses fails because AnyIO task groups bundle all failures into ExceptionGroup while cancelling unshielded sibling scopes HOW
Packages
anyio 4.13.0
Environment
python
Created
2026-08-15T17:09:08Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

anonymous

Verification receipts