FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-157480: Add structured version info for dbm.ndbm by serhiy-storchaka · Pull Request #157484 · python/cpython · GitHub

Repository navigation

gh-157480: Add structured version info for dbm.ndbm - #157484

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:ndbm-version-info
Sep 29, 2026
Merged

serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:ndbm-version-info

Conversation

Copy link
Copy Markdown
Member

Add constants which provide information about the version of the underlying library in use: GDBM_VERSION_INFO, gdbm_version_info and gdbm_version if it is GDBM, or BDB_VERSION, bdb_version, BDB_VERSION_INFO and bdb_version_info if it is Berkeley DB.

dbm.ndbm.library is now 'ndbm' instead of 'GNU gdbm' for a classic NDBM library.

configure now links _dbm with libgdbm when it is built with GDBM's compatibility interface, since the version information lives there and not in libgdbm_compat.

Tested with GDBM (compat interface and gdbm's ndbm.h) and Berkeley DB 5.3 on Linux, a classic NDBM library on FreeBSD, and Berkeley DB 5.3 on OpenIndiana.

Add constants which provide information about the version of the
underlying library in use: GDBM_VERSION_INFO, gdbm_version_info and
gdbm_version if it is GDBM, or BDB_VERSION, bdb_version,
BDB_VERSION_INFO and bdb_version_info if it is Berkeley DB.

dbm.ndbm.library is now 'ndbm' instead of 'GNU gdbm' for a classic
NDBM library.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

read-the-docs-community Bot commented Sep 14, 2026 •
edited
Loading

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34828072 | 📁 Comparing 9cdaeca against main (f815f74)

  🔍 Preview build  

53 files changed · + 1 added · ± 52 modified

+ Added

± Modified

bedevere-app Bot added the type-feature A feature request or enhancement label Sep 29, 2026
serhiy-storchaka enabled auto-merge (squash) September 29, 2026 12:46
serhiy-storchaka removed the type-feature A feature request or enhancement label Sep 29, 2026
serhiy-storchaka merged commit 89bfac6 into python:main Sep 29, 2026
58 of 60 checks passed
serhiy-storchaka deleted the ndbm-version-info branch September 29, 2026 13:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL