Add structured version info for sqlite3
未关闭
还没有人认领这个 Issue。
3.16
extension-modules
topic-sqlite3
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- 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 入口点。将所请求的构建时常量和命名元组形状与 gh-157471 中关联的工作进行比较;完成的标准是两个构建时值都已公开,并且运行时版本信息具有所请求的结构。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, sqlite
- 领域
- databases
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100