473,594 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

bsddb support for berkeley db 4.3?

It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3. (4.3 fixes some deadlock bugs I occasionally encounter
using 4.2.)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?

Jul 18 '05 #1
4 1488
ja***********@h otmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3.
What makes you say that? It builds fine for me.
bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?


It certainly has. However, the authors of bsddb3 are free to release
new versions of their software whenever they wish to, independent of
any Python releases. They are encouraged to merge their changes into the
Python CVS, but they are requested to avoid adding new features to
Python 2.4.

Regards,
Martin
Jul 18 '05 #2
ja***********@h otmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3. (4.3 fixes some deadlock bugs I occasionally encounter
using 4.2.)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but
doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?


Yes it has, but which version of BSD DB gets used when the release team
builds the Win32 installer depends on the version installed on the
installer builder's machine.

If you can, I'd suggest posting a bug report on SF against 2.4 to see
whether you can encourage the installer builder to upgrade BSD DB -
though do be certain to check what's in 2.4.1c1 first.

-------------------------------------------------------------------------
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: an*****@bullsey e.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.or g.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
Jul 18 '05 #3
Martin v. Löwis wrote:
ja***********@h otmail.com wrote:
It doesn't seem like the python 2.4(and the recent 2.4.1) support
berkeley db 4.3.
What makes you say that? It builds fine for me.


Oh, it doesn't work with 2.4(I tried this one) but with 2.4.1
seemingly.

In the setup.py from 2.4 there is a line with:
'db4': {'libs': ('db-4.2', 'db42', 'db-4.1', 'db41',
'db-4.0', 'db4',),

But in 2.4.1 the setup.py from pybsddb project has been merged:
for x in (0,1,2,3):
db_inc_paths.ap pend('/usr/include/db4%d' % x)

bsddb3(at pybsddb.sf.net) already supports 4.3 since last December(but doesn't explicitly support win32 -- see the assert statement in
setup.py). I thought the bsddb3 project were merged into the python
project. Hasn't it?
It certainly has. However, the authors of bsddb3 are free to release
new versions of their software whenever they wish to, independent of
any Python releases. They are encouraged to merge their changes into

the Python CVS, but they are requested to avoid adding new features to
Python 2.4.

Regards,
Martin

Thank you.

Jul 18 '05 #4
Andrew MacIntyre wrote:
If you can, I'd suggest posting a bug report on SF against 2.4 to see
whether you can encourage the installer builder to upgrade BSD DB -
though do be certain to check what's in 2.4.1c1 first.


It's 4.2.52, and I don't think I'm going to use anything else for 2.4.1.
In fact, I don't think I can update to 4.3 in the entire 2.4.x release
cycle. 4.3 adds a few new features, and new features are not acceptable
in 2.4.x. Also, 4.3 changes the format of the log file.

I should apply all the patches for 4.2.52, but I'm only lacking Patch 3,
and this applies to Java only, so it should be irrelevant.

Of course, if 4.3 would fix a serious bug that affects Python users,
it might be necessary to reconsider. From the huge change list of bug
fixes in 4.3, I cannot tell which of these fixes affect Python users.

Regards,
Martin
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2673
by: Harry Pehkonen | last post by:
Stats: Python2.3 windows2000 professional If I have ``Full Control'' of a bsddb file, no problem: >>> import bsddb >>> a = bsddb.btopen("c:/sharedrw/db/npanxx2pseudo.db", "r") >>> a.close() >>>
1
1538
by: Mike Moum | last post by:
Greetings all, I have some questions about the bsddb package that comes with Python 2.3 that I can't find answers for. I've googled and read the documentation. 1. Does the Berkeley database from Sleepycat need to be installed separately from Python, or is it included? The documentation states that bsddb requires the Berkeley DB library 3.1 or later, but it seems to work without it (on Debian, at least - I don't think it's installed).
4
4484
by: Michele Simionato | last post by:
I was browsing through the source tree of Python 2.4b2 and in Lib/bsddb/test I found a lot of interesting stuff. It seems that the support for the bsd database is much better than documented in the standard library http://www.python.org/dev/doc/devel/lib/module-bsddb.html. There are tests for locking, transactions, join, etc. Is there some documentation anywhere? I could infer what I need from the tests but maybe there is already some...
0
1333
by: Barry | last post by:
I have python2.4.1 installed on two machines: -- one is Fedora core 1, where the bsddb module works fine -- one is Redhat ES 3.0, and I installed mysql 4.1 (and mysql-python2.1) after putting the newer python on the machine. python2.2, which came with Redhat ES, works fine, so I suppose I messed up the build. I much appreciate any insight in how to fix this.
0
1245
by: Yi Qiang | last post by:
Hi guys, I am trying to compile python 2.5 on my OSX machine so it includes the bsddb module. Currently, when I type 'import bsddb' I get the following traceback: /Users/yi/Software/sage-1.4.1.2/local/lib/python2.5/bsddb/__init__.py in <module>() 49 from bsddb3.dbutils import DeadlockWrap as _DeadlockWrap 50 else: ---51 import _bsddb
1
1745
by: BjornT | last post by:
Have a rather big problem with bsddb I can't figure out. I upgraded an Ubuntu machine from 7.05 to 7.10 which upgraded python to 2.5.1 I run a local website that uses bsddb, and suddenly I get a version mismatch error with bsddb and I can't access my database anymore I noticed in the 2.5.1 release notes: - fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments were transposed.
1
1637
by: partofthething | last post by:
I've been struggling with this all day. I am trying to get Python 2.5 running with the BerkeleyDB bindings provided by bsddb. First, I downloaded the BerkeleyDB system (version 4.5) from http://www.oracle.com/technology/products/berkeley-db/index.html. Then, I downloaded bsddb from http://pybsddb.sourceforge.net/ and built it using my python 2.5 install with python2.5 setup.py build and python2.5 setup.py install. During the install,...
2
1683
by: cocobear | last post by:
How to deal with multiple databases in an file. I want to get the content of several databases. it's the code I wrote: $ python Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11) on linux2 Type "help", "copyright", "credits" or "license" for more information.
0
820
by: sconnoll | last post by:
import bsddb bsddb.btopen(file, flag='c', mode=438, btflags=0, cachesize=None, maxkeypage=None, minkeypage=None, pgsize=None, lorder=None) Can anyone help me with the values to use for btflags? I'd like to tell the database manager that I want to allow duplicate values. The ORACLE Berkeley documentation addresses C (not Python), so I can't find the approprate btflags values documented for Python anywhere.
0
7941
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7874
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8246
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8368
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8231
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5738
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5404
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
1205
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.