Add better error reporting for MemoryErrors caused by str->float conversions.
[python.git] / Doc / library / persistence.rst
blob78e40f64460421187fdf64d65ef8643cba5a1f93
2 .. _persistence:
4 ****************
5 Data Persistence
6 ****************
8 The modules described in this chapter support storing Python data in a
9 persistent form on disk.  The :mod:`pickle` and :mod:`marshal` modules can turn
10 many Python data types into a stream of bytes and then recreate the objects from
11 the bytes.  The various DBM-related modules support a family of hash-based file
12 formats that store a mapping of strings to other strings.  The :mod:`bsddb`
13 module also provides such disk-based string-to-string mappings based on hashing,
14 and also supports B-Tree and record-based formats.
16 The list of modules described in this chapter is:
19 .. toctree::
21    pickle.rst
22    copy_reg.rst
23    shelve.rst
24    marshal.rst
25    anydbm.rst
26    whichdb.rst
27    dbm.rst
28    gdbm.rst
29    dbhash.rst
30    bsddb.rst
31    dumbdbm.rst
32    sqlite3.rst