Skip to content

Add structured version info for sqlite3 #157470

Description

@serhiy-storchaka

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.16new features, bugs and security fixesextension-modulesC modules in the Modules dirtopic-sqlite3type-featureA feature request or enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions