summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/dbtables.py
Commit message (Collapse)AuthorAgeFilesLines
* Update bsddb code to version 4.7.3pre2. This code shouldJesus Cea2008-08-311-67/+189
| | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
* bsddb module updated to version 4.7.2devel9.Jesus Cea2008-07-231-4/+3
| | | | | | | | | | | | | This patch publishes the work done until now for Python 3.0 compatibility. Still a lot to be done. When possible, we use 3.0 features in Python 2.6, easing development and testing, and exposing internal changes to a wider audience, for better test coverage. Some mode details: http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2
* bsddb module updated to version 4.7.0Jesus Cea2008-05-221-2/+2
|
* Undo revision 58533 58534 fixes. Those were a workaround forGregory P. Smith2007-11-011-3/+2
| | | | a problem introduced by 58385.
* A cleaner fix than the one committed last night. Generate random rowids thatGregory P. Smith2007-10-181-5/+6
| | | | do not contain null bytes.
* Fix a weird bug in dbtables: if it chose a random rowid string that containedGregory P. Smith2007-10-181-4/+4
| | | | | NULL bytes it would cause the database all sorts of problems in the future leading to very strange random failures and corrupt dbtables.bsdTableDb dbs.
* cleanup test_dbtables to use mkdtemp. cleanup dbtables to pass txn as aGregory P. Smith2007-10-181-13/+13
| | | | | keyword argument whenever possible to avoid bugs and confusion. (dbtables.py line 447 self.db.get using txn as a non-keyword was an actual bug due to this)
* email address updateGregory P. Smith2007-09-091-1/+1
|
* Fix errors found by pycheckerNeal Norwitz2006-06-111-0/+6
|
* - bsddb: the bsddb.dbtables Modify method now raises the proper error andGregory P. Smith2006-06-081-18/+25
| | | | | | | | | aborts the db transaction safely when a modifier callback fails. Fixes SF python patch/bug #1408584. Also cleans up the bsddb.dbtables docstrings since thats the only documentation that exists for that unadvertised module. (people really should really just use sqlite3)
* Purged Berkeley code of references to the long-obsolete whrandom.Tim Peters2004-08-081-3/+3
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-5/+5
| | | | From SF patch #852334.
* Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; newGregory P. Smith2003-09-211-3/+3
| | | | | | | | | | features in BerkeleyDB not exposed. notably: the DB_MPOOLFILE interface has not yet been wrapped in an object. Adds support for building and installing bsddb3 in python2.3 that has an older version of this module installed as bsddb without conflicts. The pybsddb.sf.net build/packaged version of the module uses a dynamicly loadable module called _pybsddb rather than _bsddb.
* bsddb 4.1.6:Gregory P. Smith2003-07-091-0/+3
| | | | | | | | | | | * 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. * 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.
* Everything worked in both the distutils distro and in Python 2.3cvs,Barry Warsaw2003-01-281-84/+96
| | | | so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
* Port BerkeleyDB 4.1 support from the pybsddb project. bsddb is now atBarry Warsaw2002-12-301-56/+100
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* In class bsdTableDB, add class variables db and env (set to None) toGuido van Rossum2002-12-021-0/+5
| | | | | prevent close() called from __del__ from bombing out when __init__() fails early.
* Whitespace normalization.Tim Peters2002-11-241-1/+0
|
* Merge with bsddb3 2002.11.23.10.42.36Martin v. Löwis2002-11-231-11/+12
|
* Replace bsddb3 and _db occurrences.Martin v. Löwis2002-11-191-1/+1
|
* Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.Martin v. Löwis2002-11-191-0/+629