[Python-bugs-list] [ python-Bugs-584409 ] add way to detect bsddb version
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 21 Jul 2002 00:29:36 -0700
Bugs item #584409, was opened at 2002-07-21 07:29
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=584409&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: paul rubin (phr)
Assigned to: Nobody/Anonymous (nobody)
Summary: add way to detect bsddb version
Initial Comment:
The bsddb module docs say that some Python
configurations use Berkeley db 1.85
and others use the incompatible 2.0. Maybe by now
there are later versions as well. There's no way
listed for a Python script to know which version of
bsddb is running underneath! That's not so great,
since the versions don't interoperate and don't support
the same operations.
Proposed fix: please add a new function to the module,
bsddb.db_version(). This would
return a constant string like "1.85" or "2.0", built at
Python configuration time.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=584409&group_id=5470