python / python/cpython

`code.co_linetable` is undocumented

未關閉
#137,528 4 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

docs
主要語言
Python
星號
77.2k
分支
36k
PR 合併指標
PR 指標待擷取

描述

https://peps.python.org/pep-0626/#the-co-linetable-attribute says it's an implementation detail, but I had to find that reference via the changelog linking to the PEP to find out what the attribute is for.

Linked PRs
  • gh-151425

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先閱讀 issue 中連結的 PEP 626 部分,以及促成該部分的 changelog 參照,接著找到適用於 code objects 的 CPython 文件項目。完成的標準是清楚記錄 code.co_linetable 的用途及其作為實作細節的狀態;gh-151425 已經列為連結的 PR。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。