Add structured version info for sqlite3
未關閉
還沒有人認領這個 Issue。
3.16
extension-modules
topic-sqlite3
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
sqlite3.sqlite_version and sqlite3.sqlite_version_info only describe the SQLite library loaded at runtime. There is no way to learn the version of the library that the module was built against, which can differ.
Following gh-117404, add sqlite3.SQLITE_VERSION and sqlite3.SQLITE_VERSION_INFO for the build-time version, and make sqlite3.sqlite_version_info a named tuple.
Linked PRs
- gh-157471
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 gh-117404,並檢查現有的 sqlite3.sqlite_version 和 sqlite3.sqlite_version_info 入口點。將要求的建置時常數和具名 tuple 的形狀與 gh-157471 中連結的工作進行比較;完成的標準是兩個建置時值都已公開,且執行階段版本資訊具有要求的結構。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python, sqlite
- 領域
- databases
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100