Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Python3.0 bsddb testsuite compatibility improvements | Jesus Cea | 2008-09-03 | 1 | -0/+4 |
| | |||||
* | Improve compatibility with Python3.0 testsuite | Jesus Cea | 2008-09-02 | 2 | -6/+11 |
| | |||||
* | In Python3.0, "test.test_support" is renamed to "test.support". | Jesus Cea | 2008-09-01 | 1 | -1/+4 |
| | |||||
* | Update bsddb code to version 4.7.3pre2. This code should | Jesus Cea | 2008-08-31 | 24 | -405/+899 |
| | | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3 | ||||
* | Remove a dict.has_key() use to silence a warning raised under -3. | Brett Cannon | 2008-08-02 | 1 | -1/+1 |
| | |||||
* | Be less strict with replication timeouts (the machine | Jesus Cea | 2008-07-29 | 1 | -7/+19 |
| | | | | | can be a bit loaded), and be sure to yield the CPU when waiting. | ||||
* | Refinements in the bsddb testsuite | Jesus Cea | 2008-07-29 | 2 | -4/+4 |
| | |||||
* | bsddb module updated to version 4.7.2devel9. | Jesus Cea | 2008-07-23 | 14 | -139/+492 |
| | | | | | | | | | | | | | 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 | ||||
* | Merged revisions 64368-64369 via svnmerge from | Trent Nelson | 2008-06-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade ........ r64368 | trent.nelson | 2008-06-17 23:13:44 -0500 (Tue, 17 Jun 2008) | 1 line Initial commit of work pertaining to switching the Windows build from Berkeley DB 4.4.20 to 4.7.25. Note that I've deprecated the standalone '_bsddb44.vcproj' in lieu of adding the sources in a separate folder to the _bsddb project. This was a conscious decision and actually makes everything far more easier to manage. With this approach, entire test suite passed straight off the bat. Well, almost -- the timeout in bsddb/test/test_replication.py needed bumping up a little -- 2 seconds was too short. 10 seconds seems to be fine for me, but I'll make sure Jesus verifies. More documentation to come once I've been able to test out this approach on the buildbots (hence keeping the changes in a separate branch for now). ........ r64369 | trent.nelson | 2008-06-17 23:19:12 -0500 (Tue, 17 Jun 2008) | 1 line Bump Berkeley DB version from 4.4.20 to 4.7.25. ........ | ||||
* | Better integration between Python testing and bsddb3 | Jesus Cea | 2008-05-27 | 1 | -9/+12 |
| | |||||
* | Fix issue2669: bsddb simple/legacy interface iteration silently fails | Gregory P. Smith | 2008-05-25 | 1 | -63/+77 |
| | | | | | | | when database changes size during iteration. It now behaves like a dictionary, the next attempt to get a value from the iterator after the database has changed size will raise a RuntimeError. | ||||
* | * Give the test_bsddb3 tests a unique temporary directory to run their | Gregory P. Smith | 2008-05-25 | 1 | -7/+15 |
| | | | | | | | | stuff in and clean it up afterwards regardless of the result. * Get rid of duplicate list of test modules to run, they're maintained within test_all now. * Print the BerkeleyDB version to stderr when running test_bsddb3 to help buildbot problem diagnosis. | ||||
* | Use test_support to get network ports to bind to. | Gregory P. Smith | 2008-05-25 | 1 | -8/+10 |
| | |||||
* | bsddb module updated to version 4.7.0 | Jesus Cea | 2008-05-22 | 3 | -4/+4 |
| | |||||
* | bsddb: Beware with sequence wrapping | Jesus Cea | 2008-05-19 | 1 | -9/+5 |
| | |||||
* | issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get | Gregory P. Smith | 2008-05-17 | 1 | -7/+1 |
| | | | | | and other bsddb.db object constructors raised an exception. Debugging & patch by Neal Norowitz. | ||||
* | disable the crashing test. I will also file a bug. This crash does | Gregory P. Smith | 2008-05-15 | 1 | -1/+7 |
| | | | | | | not appear to be a new bug, its just that the test coverage went up recently exposing it. (I verified that by testing this test code on an older Modules/_bsddb.c) | ||||
* | Testsuite for bsddb module, version 4.6.4 | Jesus Cea | 2008-05-13 | 25 | -714/+1213 |
| | |||||
* | #2503 make singletons compared with "is" not == or != | Benjamin Peterson | 2008-03-29 | 3 | -6/+6 |
| | | | | Thanks to Wummel for the patch | ||||
* | Make sure that the warnings filter is not reset or changed beyond the current | Brett Cannon | 2008-03-19 | 1 | -4/+5 |
| | | | | | | running test file. Closes issue2407. Thanks Jerry Seutter. | ||||
* | Remove the files/dirs after closing the DB so the tests work on Windows. | Neal Norwitz | 2008-03-05 | 2 | -6/+3 |
| | | | | Patch from Trent Nelson. Also simplified removing a file by using test_support. | ||||
* | Close the file before trying to remove the directory so it works on Windows. | Neal Norwitz | 2008-03-04 | 1 | -1/+2 |
| | | | | As reported by Trent Nelson on python-dev. | ||||
* | Modify import of test_support so that the code can also be used with a | Gregory P. Smith | 2008-03-02 | 15 | -15/+73 |
| | | | | | stand alone distribution of bsddb that includes its own small copy of test_support for the needed functionality on older pythons. | ||||
* | Create a db_home directory with a unique name so multiple users can | Neal Norwitz | 2008-02-24 | 15 | -77/+51 |
| | | | | | | | | | | | | run the test simultaneously. The simplest thing I found that worked on both Windows and Unix was to use the PID. It's unique so should be sufficient. This should prevent many of the spurious failures of the automated tests since they run as different users. Also cleanup the directory consistenly in the tearDown methods. It would be nice if someone ensured that the directories are always created with a consistent name. | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 16 | -24/+9 |
| | |||||
* | Consistently use tempfile.tempdir for the db_home directory. | Neal Norwitz | 2008-01-26 | 5 | -5/+8 |
| | |||||
* | Fix exception in tearDown on ppc buildbot. If there's no directory, | Neal Norwitz | 2008-01-26 | 1 | -2/+5 |
| | | | | that shouldn't cause the test to fail. Just like it setUp. | ||||
* | * db->get_flags is only available in BerkeleyDB >= 4.2 | Gregory P. Smith | 2007-11-05 | 1 | -0/+4 |
| | |||||
* | Add the bsddb.db.DBEnv.lock_id_free method. | Gregory P. Smith | 2007-11-05 | 1 | -14/+12 |
| | | | | Improve test_lock's tempdir creation and cleanup. | ||||
* | Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and | Gregory P. Smith | 2007-11-05 | 1 | -0/+24 |
| | | | | | | | | | | pay attention to them when opening an existing database. This means that d[] behaves properly even on databases previously created with DB_DUP or DB_DUPSORT flags to allow duplicate keys. http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900 Do not backport, this bugfix could be considered an API change. | ||||
* | Undo revision 58533 58534 fixes. Those were a workaround for | Gregory P. Smith | 2007-11-01 | 1 | -3/+2 |
| | | | | a problem introduced by 58385. | ||||
* | Fix bug introduced in revision 58385. Database keys could no longer | Gregory P. Smith | 2007-11-01 | 1 | -4/+21 |
| | | | | | have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior. | ||||
* | squelch the warning that this test is supposed to trigger. | Gregory P. Smith | 2007-10-19 | 1 | -2/+7 |
| | |||||
* | A cleaner fix than the one committed last night. Generate random rowids that | Gregory P. Smith | 2007-10-18 | 1 | -5/+6 |
| | | | | do not contain null bytes. | ||||
* | Fix a weird bug in dbtables: if it chose a random rowid string that contained | Gregory P. Smith | 2007-10-18 | 1 | -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 a | Gregory P. Smith | 2007-10-18 | 2 | -19/+18 |
| | | | | | 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) | ||||
* | Use unittest for assertions | Neal Norwitz | 2007-10-14 | 1 | -33/+34 |
| | |||||
* | Don't raise a string exception, they don't work anymore. | Neal Norwitz | 2007-10-14 | 1 | -1/+1 |
| | |||||
* | Fix an uncollectable reference leak in bsddb.db.DBShelf.append | Gregory P. Smith | 2007-10-13 | 1 | -2/+19 |
| | |||||
* | Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append | Gregory P. Smith | 2007-10-12 | 2 | -23/+78 |
| | | | | | was useless due to inverted logic. Also adds a test case for RECNO dbs to test_dbshelve. | ||||
* | Use the highest cPickle protocol in bsddb.dbshelve. This comes from | Gregory P. Smith | 2007-10-09 | 1 | -14/+28 |
| | | | | sourceforge pybsddb patch 1551443 by w_barnes. | ||||
* | Fix a double free when positioning a database cursor to a non-existant | Gregory P. Smith | 2007-10-09 | 1 | -0/+20 |
| | | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail. | ||||
* | email address update | Gregory P. Smith | 2007-09-09 | 3 | -3/+3 |
| | |||||
* | Apply the fix from Issue1112 to make this test more robust and keep | Gregory P. Smith | 2007-09-06 | 1 | -9/+22 |
| | | | | windows happy. | ||||
* | Fix bug 1725856. | Gregory P. Smith | 2007-08-24 | 1 | -0/+4 |
| | |||||
* | stop leaving log.0000001 __db.00* and xxx.db turds in developer | Gregory P. Smith | 2007-08-22 | 1 | -1/+9 |
| | | | | sandboxes when bsddb3 tests are run. | ||||
* | Give some clue as to what happened if the test fails. | Neal Norwitz | 2007-05-19 | 1 | -1/+1 |
| | |||||
* | [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵ | Andrew M. Kuchling | 2007-01-05 | 11 | -14/+17 |
| | | | | the Lib/bsddb/test directory | ||||
* | Support linking of the bsddb module against BerkeleyDB 4.5.x | Gregory P. Smith | 2007-01-05 | 2 | -3/+4 |
| | | | | (will backport to 2.5) | ||||
* | Oops, convert tabs to spaces | Neal Norwitz | 2006-11-21 | 1 | -2/+2 |
| |