concurrent.interpreters queue documentation doesn't match reality
未關閉
還沒有人認領這個 Issue。
3.14
3.15
docs
stdlib
topic-subinterpreters
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
I don't know if this is a problem with the documentation or with reality but:
-
QueueEmptyErrorandQueueFullErrordon't exist (https://docs.python.org/3.14/library/concurrent.interpreters.html#concurrent.interpreters.QueueEmptyError). They appear to be calledQueueEmptyandQueueFull. -
queue.getdoesn't take a block keyword argument. The documentation sayswhich implements the queue.Queue interface.
and
queue.Queue.getis documented as having ablockmethod.
Linked PRs
- gh-139358
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 concurrent.interpreters 文件開始,尤其是 QueueEmptyError、QueueFullError 和 queue.get 的相關參照,並將它們與回報的名稱和簽章進行比較。在進行變更之前檢查連結的 PR gh-139358;完成的標準是文件與 API 的實際行為一致。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 20/100