# Run the loop for this thread. if name not in _loop_map: _loop_map[name] = asyncio.new_event_loop() loop = _loop_map[name] with these lines instead # Run the loop for this thread. try: loop = asyncio.get_event_loop() except RuntimeError: loop = asyncio.new_event_loop() as...
You're saying: let fatal errors cascade up the chain quickly without getting caught by intermediate levels, so that those levels also don't have to deal with, or pass on, those error states. I agree. But as I said in the beginning, there's no one-size-fits-all solution. It's ...