Discussion:
[Python-3000-checkins] r66303 - in python/branches/py3k/Doc: library/collections.rst library/dbm.rst library/shelve.rst reference/datamodel.rst
benjamin.peterson
2008-09-08 02:49:31 UTC
Permalink
Author: benjamin.peterson
Date: Mon Sep 8 04:49:30 2008
New Revision: 66303

Log:
remove some more bsddb references

Modified:
python/branches/py3k/Doc/library/collections.rst
python/branches/py3k/Doc/library/dbm.rst
python/branches/py3k/Doc/library/shelve.rst
python/branches/py3k/Doc/reference/datamodel.rst

Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst (original)
+++ python/branches/py3k/Doc/library/collections.rst Mon Sep 8 04:49:30 2008
@@ -23,9 +23,6 @@
The specialized containers provided in this module provide alternatives
to Python's general purpose built-in containers, :class:`dict`,
:class:`list`, :class:`set`, and :class:`tuple`.
-Besides the containers provided here, the optional :mod:`bsddb`
-module offers the ability to create in-memory or file based ordered
-dictionaries with string keys using the :meth:`bsddb.btopen` method.

In addition to containers, the collections module provides some ABCs
(abstract base classes) that can be used to test whether a class

Modified: python/branches/py3k/Doc/library/dbm.rst
==============================================================================
--- python/branches/py3k/Doc/library/dbm.rst (original)
+++ python/branches/py3k/Doc/library/dbm.rst Mon Sep 8 04:49:30 2008
@@ -268,9 +268,9 @@
database modules.

The :mod:`dbm.dumb` module provides a persistent dictionary-like interface which
-is written entirely in Python. Unlike other modules such as :mod:`gdbm` and
-:mod:`bsddb`, no external library is required. As with other persistent
-mappings, the keys and values must always be strings.
+is written entirely in Python. Unlike other modules such as :mod:`gdbm` no
+external library is required. As with other persistent mappings, the keys and
+values must always be strings.

The module defines the following:


Modified: python/branches/py3k/Doc/library/shelve.rst
==============================================================================
--- python/branches/py3k/Doc/library/shelve.rst (original)
+++ python/branches/py3k/Doc/library/shelve.rst Mon Sep 8 04:49:30 2008
@@ -55,15 +55,14 @@
.. index::
module: dbm.ndbm
module: dbm.gnu
- module: bsddb

-* The choice of which database package will be used (such as :mod:`dbm.ndbm`,
- :mod:`dbm.gnu` or :mod:`bsddb`) depends on which interface is available. Therefore
- it is not safe to open the database directly using :mod:`dbm`. The database is
- also (unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
+* The choice of which database package will be used (such as :mod:`dbm.ndbm` or
+ :mod:`dbm.gnu`) depends on which interface is available. Therefore it is not
+ safe to open the database directly using :mod:`dbm`. The database is also
+ (unfortunately) subject to the limitations of :mod:`dbm`, if it is used ---
this means that (the pickled representation of) the objects stored in the
- database should be fairly small, and in rare cases key collisions may cause the
- database to refuse updates.
+ database should be fairly small, and in rare cases key collisions may cause
+ the database to refuse updates.

* Depending on the implementation, closing a persistent dictionary may or may
not be necessary to flush changes to disk. The :meth:`__del__` method of the
@@ -155,9 +154,6 @@
Module :mod:`dbm`
Generic interface to ``dbm``-style databases.

- Module :mod:`bsddb`
- BSD ``db`` database interface.
-
Module :mod:`pickle`
Object serialization used by :mod:`shelve`.


Modified: python/branches/py3k/Doc/reference/datamodel.rst
==============================================================================
--- python/branches/py3k/Doc/reference/datamodel.rst (original)
+++ python/branches/py3k/Doc/reference/datamodel.rst Mon Sep 8 04:49:30 2008
@@ -405,10 +405,9 @@
.. index::
module: dbm.ndbm
module: dbm.gnu
- module: bsddb

- The extension modules :mod:`dbm.ndbm`, :mod:`dbm.gnu`, and :mod:`bsddb`
- provide additional examples of mapping types, as does the :mod:`collections`
+ The extension modules :mod:`dbm.ndbm` and :mod:`dbm.gnu` provide
+ additional examples of mapping types, as does the :mod:`collections`
module.

Callable types
Georg Brandl
2008-09-08 07:31:53 UTC
Permalink
Post by benjamin.peterson
Author: benjamin.peterson
Date: Mon Sep 8 04:49:30 2008
New Revision: 66303
remove some more bsddb references
One or some of these should probably be retained as a link to the
separate bsddb3 extension.

Georg
--
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
Loading...