]> granicus.if.org Git - python/commit
bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)
authorVictor Stinner <vstinner@redhat.com>
Tue, 19 Jun 2018 21:29:22 +0000 (23:29 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 21:29:22 +0000 (23:29 +0200)
commit00f9edb98dd64e14daf5c44f303deca5cbc3cdeb
tree2389e3e854d72d5882ae3d64084bb2a19caf8554
parent06fe77a84bd29d51506ab2ff703ae585a6121af2
bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)

* Fix also PyInit__gdbm() to catch errors.
* test.pythoninfo: add gdbm.version
* test_dbm_gnu now logs GDBM_VERSION when run in verbose mode.

* pythoninfo: rename function to collect_gdbm()
Lib/test/pythoninfo.py
Lib/test/test_dbm_gnu.py
Modules/_gdbmmodule.c