解决 Python 报错 RuntimeError: Event loop is closed 退出异常处理分析 Python 异步程序在 Windows 上使用 Proactor 退出报错根因,提供 SelectorEventLoopPolicy 切换步骤。Python · Windows · asyncio2026.10.18