MagicStack / MagicStack/uvloop
Python3.13 support - `close_clients`
還沒有人認領這個 Issue。
- 主要語言
- Cython
- 星號
- 11.9k
- 分支
- 616
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hello!
First of all - thanks for the amazing project.
I am using python3.13 and I noticed that uvloop's Server doesn't have close_clients.
Since running projects with fastapi and uvicorn uses uvloop, it means that any code that uses them might not support python3.13.
The exception I receive is:
AttributeError: 'uvloop.loop.Server' object has no attribute 'close_clients'
And in my humble opinion it should behave as https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.Server.close_clients
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,將 uvloop 的 Server API 與 Python 3.13 的 asyncio.Server.close_clients 文件進行比較,並使用回報的 AttributeError 作為初始重現。完成的標準是 uvloop 的 Server 提供 close_clients,且其行為與文件化的 asyncio API 一致;該 issue 提到 FastAPI 和 uvicorn 作為整合情境。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- networking
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100