mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Adds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; new
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.
This commit is contained in:
		
							parent
							
								
									cec1b3f6a7
								
							
						
					
					
						commit
						41631e8f66
					
				
					 21 changed files with 114 additions and 71 deletions
				
			
		|  | @ -13,11 +13,11 @@ | |||
| import unittest | ||||
| 
 | ||||
| try: | ||||
|     # For Pythons w/distutils pybsddb | ||||
|     from bsddb3 import db | ||||
| except ImportError: | ||||
|     # For Python 2.3 | ||||
|     from bsddb import db | ||||
| except ImportError: | ||||
|     # For earlier Pythons w/distutils pybsddb | ||||
|     from bsddb3 import db | ||||
| 
 | ||||
| from test_all import verbose | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gregory P. Smith
						Gregory P. Smith