Using ExceptionGroup at Anthropic (experience report)

I spent the afternoon digging into this, and it looks like I was just mistaken: a non-contextmanager async generator threw a GeneratorExit out through one of our context managers, and in addition to fixing the actual problem I added my with unwrap_generatorexit(): hack to a context manager that didn’t actually need it. Apologies for the confusion, thanks for the prompt to investigate more fully, and post edited!