
#316 Python 3.11 is here and it's fast (crossover)
Python Bytes
00:00
Asynchronous Web Services - Concurrent Errors
The star is reminiscent of unpacking. It's not exactly unpacking, but it was kind of the intention to make it look a bit like unpacking. You get all the full errors in a group, execute that clause and then move on to the next clause with whatever is not handled yet. The first clause that matches its type will consume it. And each clause executes once. So if there are more than one errors of that type, then what gets kind of bound in the accept star full error as e,. What gets bound to e is a group of full errors. That's basically the idea. This is pretty interesting. We have Trio do your thing and then accept star,
Transcript
Play full episode