Home | Trees | Indices | Help |
|
---|
|
Old crash dump persistencer using a DBM database. Doesn't support duplicate crashes.
Warning: DBM database support is provided for backwards compatibility with older versions of WinAppDbg. New applications should not use this class. Also, DBM databases in Python suffer from multiple problems that can easily be avoided by switching to a SQL database.
See Also:
If you really must use a DBM database, try the standard
shelve
module instead: http://docs.python.org/library/shelve.html
|
|||
__CrashContainerIterator Iterator of Crash objects. |
|
|||
|
|||
|
|||
str or buffer |
|
||
Crash key. |
|
||
str |
|
||
Crash |
|
||
int |
|
||
bool |
|
||
bool |
|
||
bool |
|
||
iterator |
|
||
|
|||
iterator |
|
||
iterator |
|
||
|
|||
|
|||
|
|||
Crash object. |
|
||
Crash object. |
|
||
Inherited from |
|
|||
Marshalling configuration | |||
---|---|---|---|
bool |
optimizeKeys = False Ignored by the current implementation. |
||
bool |
optimizeValues = True True to optimize the marshalling of keys,
False otherwise.
|
||
bool |
compressKeys = False True to compress keys when marshalling,
False to leave them uncompressed.
|
||
bool |
compressValues = True True to compress values when marshalling,
False to leave them uncompressed.
|
||
bool |
escapeKeys = False True to escape keys when marshalling, False
to leave them uncompressed.
|
||
bool |
escapeValues = False True to escape values when marshalling,
False to leave them uncompressed.
|
||
bool |
binaryKeys = False True to marshall keys to binary format (the Python
buffer type), False to use text marshalled
keys (str type).
|
||
bool |
binaryValues = False True to marshall values to binary format (the Python
buffer type), False to use text marshalled
values (str type).
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Removes the given key from the set of known keys.
|
Marshalls a Crash key to be used in the database.
See Also: __init__ |
Unmarshalls a Crash key read from the database.
|
Marshalls a Crash object to be used in the database. By default the
Warning:
Setting the |
Unmarshalls a Crash object read from the database.
|
|
|
|
|
|
Class destructor. Closes the database when this object is destroyed. |
See Also: itervalues |
Warning: A copy of each object is returned, so any changes made to them will be lost. To preserve changes do the following:
|
Adds a new crash to the container. If the crash appears to be already known, it's ignored.
See Also: Crash.key |
Removes a crash from the container.
|
Removes a crash from the container.
|
Retrieves a crash from the container.
See Also: iterkeys Warning: A copy of each object is returned, so any changes made to them will be lost. To preserve changes do the following:
|
Retrieves a crash from the container.
See Also: iterkeys Warning: A copy of each object is returned, so any changes made to them will be lost. To preserve changes do the following:
|
|
optimizeKeysIgnored by the current implementation.Up to WinAppDbg 1.4 this setting caused the database keys to be
optimized when pickled with the standard But with a DBM database backend that causes inconsistencies, since the same key can be serialized into multiple optimized pickles, thus losing uniqueness.
|
optimizeValuesTrue to optimize the marshalling of keys, False
otherwise. Only used with the pickle module, ignored when
using the more secure cerealizer module.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 20 17:54:51 2013 | http://epydoc.sourceforge.net |