summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_compat.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most of the bsddb3 tests.Martin v. Löwis2007-08-081-25/+20
|
* Remove functions in string module that are also string methods. Also remove:Neal Norwitz2007-04-171-2/+2
| | | | | * all calls to functions in the string module (except maketrans) * everything from stropmodule except for maketrans() which is still used
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-15/+15
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Killed the <> operator. You must now use !=.Guido van Rossum2006-08-241-1/+1
| | | | | Opportunistically also fixed one or two places where '<> None' should be 'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
* Get rid of dict.has_key(). Boy this has a lot of repercussions!Guido van Rossum2006-08-181-1/+1
| | | | | | Not all code has been fixed yet; this is just a checkpoint... The C API still has PyDict_HasKey() and _HasKeyString(); not sure if I want to change those just yet.
* Fixes SF bug # 778421Gregory P. Smith2004-02-261-2/+22
| | | | | | | | | * Fixed a bug in the compatibility interface set_location() method where it would not properly search to the next nearest key when used on BTree databases. [SF bug id 788421] * Fixed a bug in the compatibility interface set_location() method where it could crash when looking up keys in a hash or recno format database due to an incorrect free().
* 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.
* bugfix: proper import bsddb exists belowGregory P. Smith2003-07-091-1/+0
|
* Everything worked in both the distutils distro and in Python 2.3cvs,Barry Warsaw2003-01-281-2/+7
| | | | 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-3/+3
| | | | version 4.1.1 and works with up to BerkeleyDB 4.1.25.
* Whitespace normalization.Tim Peters2002-11-241-2/+0
|
* Importing test suite from bsddb3 3.4.0 (with modifications).Martin v. Löwis2002-11-191-0/+169