summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-02-03 15:17:25 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-02-03 15:17:25 (GMT)
commit13b291021f0f9741423e41b94f04f931a442054c (patch)
treefb55374c607b2f9f86ac374fd81a6e45ff2dc6d2 /Misc
parentb9ba4e6d755243041f259dda8615308050a6f441 (diff)
downloadcpython-13b291021f0f9741423e41b94f04f931a442054c.zip
cpython-13b291021f0f9741423e41b94f04f931a442054c.tar.gz
cpython-13b291021f0f9741423e41b94f04f931a442054c.tar.bz2
add note about new db2pickle.py and pickle2db.py scripts
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS21
1 files changed, 19 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e9f105b..4aaf317 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -178,7 +178,21 @@ Library
Tools/Demos
-----------
-TBD
+- Two new scripts (db2pickle.py and pickle2db.py) were added to the
+ Tools/scripts directory to facilitate conversion from the old bsddb module
+ to the new one. While the user-visible API of the new module is
+ compatible with the old one, it's likely that the version of the
+ underlying database library has changed. To convert from the old library,
+ run the db2pickle.py script using the old version of Python to convert it
+ to a pickle file. After upgrading Python, run the pickle2db.py script
+ using the new version of Python to reconstitute your database. For
+ example:
+
+ % python2.2 -h some.db > some.pickle
+ % python2.3 -h some.db.new < some.pickle
+
+ Run the scripts without any args to get a usage message.
+
Build
-----
@@ -626,7 +640,10 @@ Extension modules
been added as the package bsddb. The traditional bsddb module is
still available in source code, but not built automatically anymore,
and is now named bsddb185. This supports Berkeley DB versions from
- 3.0 to 4.1.
+ 3.0 to 4.1. For help converting your databases from the old module (which
+ probably used an obsolete version of Berkeley DB) to the new module, see
+ the db2pickle.py and pickle2db.py scripts described in the Tools/Demos
+ section above.
- unicodedata was updated to Unicode 3.2. It supports normalization
and names for Hangul syllables and CJK unified ideographs.