Home
last modified time | relevance | path

Searched refs:dumbdbm (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_dbm_dumb.py11 import dbm.dumb as dumbdbm namespace
38 with contextlib.closing(dumbdbm.open(_fname, 'c')) as f:
48 f = dumbdbm.open(_fname, 'c', 0o637)
66 f = dumbdbm.open(_fname)
74 with contextlib.closing(dumbdbm.open(_fname, 'w')) as f:
83 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
85 with self.assertRaisesRegex(dumbdbm.error,
88 with self.assertRaisesRegex(dumbdbm.error,
100 with contextlib.closing(dumbdbm.open(_fname)) as f:
104 with contextlib.closing(dumbdbm.open(_fname)) as f:
[all …]
/external/python/cpython2/Lib/test/
Dtest_dumbdbm.py8 import dumbdbm
34 f = dumbdbm.open(_fname, 'c')
46 f = dumbdbm.open(_fname, 'c', 0637)
64 f = dumbdbm.open(_fname)
72 f = dumbdbm.open(_fname, 'w')
79 f = dumbdbm.open(_fname, 'r')
85 f = dumbdbm.open(_fname)
91 f = dumbdbm.open(_fname)
95 f = dumbdbm.open(_fname)
102 f = dumbdbm.open(_fname)
[all …]
/external/python/cpython2/Doc/library/
Ddumbdbm.rst1 :mod:`dumbdbm` --- Portable DBM implementation
4 .. module:: dumbdbm
8 The :mod:`dumbdbm` module has been renamed to :mod:`dbm.dumb` in Python 3.
16 The :mod:`dumbdbm` module is intended as a last resort fallback for the
17 :mod:`anydbm` module when no more robust module is available. The :mod:`dumbdbm`
21 The :mod:`dumbdbm` module provides a persistent dictionary-like interface which
31 Raised on dumbdbm-specific errors, such as I/O errors. :exc:`KeyError` is
37 Open a dumbdbm database and return a dumbdbm object. The *filename* argument is
39 dumbdbm database is created, files with :file:`.dat` and :file:`.dir` extensions
85 :class:`~dumbdbm.dumbdbm` objects provide the following methods.
[all …]
Danydbm.rst18 module: dumbdbm
23 :mod:`dumbdbm` will be used.
111 Module :mod:`dumbdbm`
Dpersistence.rst31 dumbdbm.rst
Dshelve.rst201 Module :mod:`dumbdbm`
/external/python/cpython3/Doc/library/
Ddbm.rst341 Open a ``dumbdbm`` database and return a dumbdbm object. The *filename* argument is
343 dumbdbm database is created, files with :file:`.dat` and :file:`.dir` extensions
383 :class:`collections.abc.MutableMapping` class, :class:`dumbdbm` objects
386 .. method:: dumbdbm.sync()
391 .. method:: dumbdbm.close()
393 Close the ``dumbdbm`` database.
/external/autotest/tko/parsers/test/
Dscenario_base.py249 import dumbdbm
250 return shelve.Shelf(dumbdbm.open(filename, flag), protocol, writeback)
/external/python/cpython2/Misc/NEWS.d/
D2.7.10rc1.rst440 Fixed arbitrary code execution vulnerability in the dumbdbm module.
D2.7.13rc1.rst17 dumbdbm no longer writes the index file in when it is not changed and
/external/python/cpython2/Modules/
DSetup.dist387 # implementation independent wrapper for these; dumbdbm.py provides
/external/python/cpython3/Doc/whatsnew/
D3.0.rst607 :mod:`dumbdbm`, :mod:`gdbm`, :mod:`whichdb`).
/external/python/cpython2/Misc/
Dcheatsheet1842 dbm,dumbdbm)
1877 dumbdbm A dumb and slow but simple dbm clone.
DHISTORY3819 that a dumbdbm database be closed properly, else the on-disk data
3821 dumbdbm.py's _Database.__del__() method attempted to close the
6040 - dumbdbm.py: fixed a dumb old bug (the file didn't get synched at
9139 whichdb -- recognizes dumbdbm format
15051 dubbed "dumbdbm".
15054 "dbm", and "dumbdbm", choosing the first one available.
/external/python/cpython3/Misc/
DHISTORY16732 ``dbm.ndbm`` (was ``dbm``) and ``dbm.dumb`` (was ``dumbdbm``)
21203 that a dumbdbm database be closed properly, else the on-disk data
21205 dumbdbm.py's _Database.__del__() method attempted to close the
23424 - dumbdbm.py: fixed a dumb old bug (the file didn't get synched at
26518 whichdb -- recognizes dumbdbm format
32430 dubbed "dumbdbm".
32433 "dbm", and "dumbdbm", choosing the first one available.