Subject: CVS commit: pkgsrc/databases/py-bsddb3
To: None <pkgsrc-changes@NetBSD.org>
From: Min Sik Kim <minskim@netbsd.org>
List: pkgsrc-changes
Date: 02/10/2004 17:56:55
Module Name: pkgsrc
Committed By: minskim
Date: Tue Feb 10 17:56:55 UTC 2004
Modified Files:
pkgsrc/databases/py-bsddb3: Makefile PLIST distinfo
pkgsrc/databases/py-bsddb3/patches: patch-aa patch-ab
Log Message:
Update py-bsddb3 to 4.1.6.
Changes sinec 4.1.1:
* Extended DB & DBEnv set_get_returns_none functionality to take a
"level" instead of a boolean flag. The boolean 0 and 1 values still
have the same effect. A value of 2 extends the "return None instead
of raising an exception" behaviour to the DBCursor set methods.
This will become the default behaviour in pybsddb 4.2.
* Updated documentation for set_get_returns_none. Regenerated the
stale html docs from the text documentation.
* Fixed a typo in DBCursor.join_item method that made it crash instead
of returning a value. Obviously nobody uses it. Wrote a test case
for join and join_item.
* Added the dbobj wrapper for DBEnv set_timeout method.
* Updated README.txt
* Added the DBEnv.set_timeout method.
* code cleanup to use python 2.x features in .py files
* the standalone pybsddb distribution will install a module
called bsddb3 while the module included with python >= 2.3
will be known as bsddb.
* Shared all .py and .c source with the Python project.
* Fixed DBTxn objects to raise an exception if they are used after
the underlying DB_TXN handle becomes invalid. (rather than
potentially causing a segfault)
* Fixed module to work when compiled against a python without thread
support.
* Do not attempt to double-close DB cursor's whos underlying DB
has already been closed (fixes a segfault).
* Close DB objects when DB.open fails to prevent an exception about
databases still being open when calling DBEnv.close.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 pkgsrc/databases/py-bsddb3/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/databases/py-bsddb3/PLIST \
pkgsrc/databases/py-bsddb3/distinfo
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/databases/py-bsddb3/patches/patch-aa
cvs rdiff -r1.2 -r1.3 pkgsrc/databases/py-bsddb3/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.