Searched refs:dumbdbm (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_dbm_dumb.py | 11 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/ |
D | test_dumbdbm.py | 8 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/ |
D | dumbdbm.rst | 1 :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 …]
|
D | anydbm.rst | 18 module: dumbdbm 23 :mod:`dumbdbm` will be used. 111 Module :mod:`dumbdbm`
|
D | persistence.rst | 31 dumbdbm.rst
|
D | shelve.rst | 201 Module :mod:`dumbdbm`
|
/external/python/cpython3/Doc/library/ |
D | dbm.rst | 341 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/ |
D | scenario_base.py | 249 import dumbdbm 250 return shelve.Shelf(dumbdbm.open(filename, flag), protocol, writeback)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 440 Fixed arbitrary code execution vulnerability in the dumbdbm module.
|
D | 2.7.13rc1.rst | 17 dumbdbm no longer writes the index file in when it is not changed and
|
/external/python/cpython2/Modules/ |
D | Setup.dist | 387 # implementation independent wrapper for these; dumbdbm.py provides
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.0.rst | 607 :mod:`dumbdbm`, :mod:`gdbm`, :mod:`whichdb`).
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1842 dbm,dumbdbm) 1877 dumbdbm A dumb and slow but simple dbm clone.
|
D | HISTORY | 3819 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/ |
D | HISTORY | 16732 ``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.
|