Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 748799a

Browse files
committed
Remove outdated question (the bsddb module isn't included anymore)
1 parent d4ddec5 commit 748799a

1 file changed

Lines changed: 0 additions & 35 deletions

File tree

Doc/faq/general.rst

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -469,38 +469,3 @@ http://www.python.org/editors/ for a full list of Python editing environments.
469469
If you want to discuss Python's use in education, you may be interested in
470470
joining `the edu-sig mailing list
471471
<http://python.org/community/sigs/current/edu-sig>`_.
472-
473-
474-
Upgrading Python
475-
================
476-
477-
What is this bsddb185 module my application keeps complaining about?
478-
--------------------------------------------------------------------
479-
480-
.. XXX remove this question?
481-
482-
Starting with Python2.3, the distribution includes the `PyBSDDB package
483-
<http://pybsddb.sf.net/>` as a replacement for the old bsddb module. It
484-
includes functions which provide backward compatibility at the API level, but
485-
requires a newer version of the underlying `Berkeley DB
486-
<http://www.sleepycat.com>`_ library. Files created with the older bsddb module
487-
can't be opened directly using the new module.
488-
489-
Using your old version of Python and a pair of scripts which are part of Python
490-
2.3 (db2pickle.py and pickle2db.py, in the Tools/scripts directory) you can
491-
convert your old database files to the new format. Using your old Python
492-
version, run the db2pickle.py script to convert it to a pickle, e.g.::
493-
494-
python2.2 <pathto>/db2pickley.py database.db database.pck
495-
496-
Rename your database file::
497-
498-
mv database.db olddatabase.db
499-
500-
Now convert the pickle file to a new format database::
501-
502-
python <pathto>/pickle2db.py database.db database.pck
503-
504-
The precise commands you use will vary depending on the particulars of your
505-
installation. For full details about operation of these two scripts check the
506-
doc string at the start of each one.

0 commit comments

Comments
 (0)