Tim Peters
0eadaac7dc
Whitespace normalization.
2003-04-24 16:02:54 +00:00
Gregory P. Smith
fe11d3e0d4
Adds support for the DBEnv->set_timeout() method.
2003-03-27 17:23:29 +00:00
Barry Warsaw
9914227caa
Fix compatibility for earlier versions of Python (than 2.3), which
...
doesn't have UserDict.DictMixin.
2003-02-08 03:18:58 +00:00
Raymond Hettinger
30a634e0a9
SF patch #674396 : Apply UserDict.DictMixin to expand dbshelve and dbojb
...
to have a full dictionary interface.
2003-02-05 04:12:41 +00:00
Gregory P. Smith
bc2adef898
fix for use on python 2.1
2003-02-03 04:19:40 +00:00
Barry Warsaw
f71de3e9a0
Everything worked in both the distutils distro and in Python 2.3cvs,
...
so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
2003-01-28 17:20:44 +00:00
Gregory P. Smith
b6c9f78074
bugfix: do not double-close DB cursor during deallocation when the
...
underlying DB has already been closed (and thus all of its cursors).
This fixes a potential segfault.
SF pybsddb bug id 667343
bugfix: close the DB object when raising an exception due to an error
during DB.open. This prevents an exception when closing the
environment about not all databases being closed.
SF pybsddb bug id 667340
2003-01-17 08:42:50 +00:00
Gregory P. Smith
c25fd3fb48
bugfix: disallow use of DB_TXN after commit() or abort(), prevents a
...
coredump or segmentation violation.
Sourceforge patch ID 664896:
http://sourceforge.net/tracker/index.php?func=detail&aid=664896&group_id=13900&atid=313900
The bug was reported on the pybsddb-users mailing list.
2003-01-17 07:52:59 +00:00
Barry Warsaw
9149aeb842
Python 2.1's string module doesn't have ascii_letters, so let's just
...
hard code it. We want this module to work with Python 2.1 for now.
2003-01-10 19:28:15 +00:00
Barry Warsaw
a21bdeae51
Cleanups, and conversion of assert to assertEqual()
2003-01-10 19:03:29 +00:00
Barry Warsaw
b1dcbd223e
Make two tests non-locale-dependent
2002-12-31 19:27:45 +00:00
Barry Warsaw
bc38baffbd
test01_close_dbenv_before_db(): Added an XXX comment that this test is
...
BerkeleyDB version dependent.
2002-12-31 18:21:43 +00:00
Barry Warsaw
9a0d779c7d
Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now at
...
version 4.1.1 and works with up to BerkeleyDB 4.1.25.
2002-12-30 20:53:52 +00:00
Barry Warsaw
74859f3aa6
Template for future tests.
2002-12-30 20:44:16 +00:00
Guido van Rossum
7a98e8083c
In class bsdTableDB, add class variables db and env (set to None) to
...
prevent close() called from __del__ from bombing out when __init__()
fails early.
2002-12-02 16:17:46 +00:00
Guido van Rossum
0d366b1418
Fix typo in except clause (_db should be _bsddb).
2002-12-02 16:08:54 +00:00
Martin v. Löwis
65730a4de8
Delete bsddb from sys.modules if _bsddb cannot be imported.
2002-11-24 08:26:01 +00:00
Tim Peters
77c06fbf94
Whitespace normalization.
2002-11-24 02:35:35 +00:00
Martin v. Löwis
b2c7affbaa
Merge with bsddb3 2002.11.23.10.42.36
2002-11-23 11:26:07 +00:00
Martin v. Löwis
7a3bae410d
Replace bsddb3 and _db occurrences.
2002-11-19 17:48:49 +00:00
Martin v. Löwis
1c6b1a2b4e
Importing test suite from bsddb3 3.4.0 (with modifications).
2002-11-19 17:47:07 +00:00
Martin v. Löwis
6aa4a1f29c
Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.
2002-11-19 08:09:52 +00:00