Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d8075857
Commit
d8075857
authored
Apr 13, 2006
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
raise the minimum supported BerkeleyDB version to 3.3 and add notes to
news about this and a couple other recent fixes.
parent
50a0473c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
13 deletions
+19
-13
Doc/lib/libbsddb.tex
Doc/lib/libbsddb.tex
+2
-3
Misc/NEWS
Misc/NEWS
+10
-1
README
README
+2
-3
setup.py
setup.py
+5
-6
No files found.
Doc/lib/libbsddb.tex
View file @
d8075857
...
@@ -15,9 +15,8 @@ other objects as keys or to store other kinds of objects the user must
...
@@ -15,9 +15,8 @@ other objects as keys or to store other kinds of objects the user must
serialize them somehow, typically using
\function
{
marshal.dumps()
}
or
serialize them somehow, typically using
\function
{
marshal.dumps()
}
or
\function
{
pickle.dumps
}
.
\function
{
pickle.dumps
}
.
Starting with Python 2.3 the
\module
{
bsddb
}
module requires the
The
\module
{
bsddb
}
module requires a Berkeley DB library version from
Berkeley DB library version 3.2 or later (it is known to work with 3.2
3.3 thru 4.4.
through 4.3 at the time of this writing).
\begin{seealso}
\begin{seealso}
\seeurl
{
http://pybsddb.sourceforge.net/
}{
Website with documentation
\seeurl
{
http://pybsddb.sourceforge.net/
}{
Website with documentation
...
...
Misc/NEWS
View file @
d8075857
...
@@ -44,7 +44,16 @@ Extension Modules
...
@@ -44,7 +44,16 @@ Extension Modules
-
Bug
#
1467952
:
os
.
listdir
()
now
correctly
raises
an
error
if
readdir
()
-
Bug
#
1467952
:
os
.
listdir
()
now
correctly
raises
an
error
if
readdir
()
fails
with
an
error
condition
.
fails
with
an
error
condition
.
-
Fix
bsddb
.
db
.
DBError
derived
exceptions
so
they
can
be
unpickled
.
-
Fixed
bsddb
.
db
.
DBError
derived
exceptions
so
they
can
be
unpickled
.
-
Bug
#
1117761
:
bsddb
.*
open
()
no
longer
raises
an
exception
when
using
the
cachesize
parameter
.
-
Bug
#
1149413
:
bsddb
.*
open
()
no
longer
raises
an
exception
when
using
a
temporary
db
(
file
=
None
)
with
the
'n'
flag
to
truncate
on
open
.
-
Bug
#
1332852
:
bsddb
module
minimum
BerkeleyDB
version
raised
to
3.3
as
older
versions
cause
excessive
test
failures
.
Library
Library
-------
-------
...
...
README
View file @
d8075857
...
@@ -719,14 +719,13 @@ Configuring the bsddb and dbm modules
...
@@ -719,14 +719,13 @@ Configuring the bsddb and dbm modules
Beginning with Python version 2.3, the PyBsddb package
Beginning with Python version 2.3, the PyBsddb package
<http://pybsddb.sf.net/> was adopted into Python as the bsddb package,
<http://pybsddb.sf.net/> was adopted into Python as the bsddb package,
exposing a set of package-level functions which provide
exposing a set of package-level functions which provide
backwards-compatible behavior. Only versions 3.
1 through 4.1
of
backwards-compatible behavior. Only versions 3.
3 through 4.4
of
Sleepycat's libraries provide the necessary API, so older versions
Sleepycat's libraries provide the necessary API, so older versions
aren't supported through this interface. The old bsddb module has
aren't supported through this interface. The old bsddb module has
been retained as bsddb185, though it is not built by default. Users
been retained as bsddb185, though it is not built by default. Users
wishing to use it will have to tweak Modules/Setup to build it. The
wishing to use it will have to tweak Modules/Setup to build it. The
dbm module will still be built against the Sleepycat libraries if
dbm module will still be built against the Sleepycat libraries if
other preferred alternatives (ndbm, gdbm) are not found, though
other preferred alternatives (ndbm, gdbm) are not found.
versions of the Sleepycat library prior to 3.1 are not considered.
Building the sqlite3 module
Building the sqlite3 module
---------------------------
---------------------------
...
...
setup.py
View file @
d8075857
...
@@ -571,14 +571,13 @@ class PyBuildExt(build_ext):
...
@@ -571,14 +571,13 @@ class PyBuildExt(build_ext):
# Sleepycat Berkeley DB interface. http://www.sleepycat.com
# Sleepycat Berkeley DB interface. http://www.sleepycat.com
#
#
# This requires the Sleepycat DB code. The earliest supported version
# This requires the Sleepycat DB code. The supported versions
# of that library is 3.2, the latest supported version is 4.4. A list
# are set below. Visit http://www.sleepycat.com/ to download
# of available releases can be found at
# a release. Most open source OSes come with one or more
#
# versions of BerkeleyDB already installed.
# http://www.sleepycat.com/update/index.html
max_db_ver = (4, 4)
max_db_ver = (4, 4)
min_db_ver = (3,
2
)
min_db_ver = (3,
3
)
db_setup_debug = False # verbose debug prints from this script?
db_setup_debug = False # verbose debug prints from this script?
# construct a list of paths to look for the header file in on
# construct a list of paths to look for the header file in on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment