%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/ |
Current File : //usr/local/lib/python2.7/dumbdbm.pyo |
ó Mêáac @ sw d Z d d l Z d d l Z d d l Z d d l Z e j Z d Z e Z d e j f d „ ƒ YZ d d d „ Z d S( s A dumb and slow but simple dbm clone. For database spam, spam.dir contains the index (a text file), spam.bak *may* contain a backup of the index (also a text file), while spam.dat contains the data (a binary file). XXX TO DO: - seems to contain a bug when updating... - reclaim free space (currently, space once occupied by deleted or expanded items is never reused) - support concurrent access (currently, if two processes take turns making updates, they can mess up the index) - support efficient access to large databases (currently, the whole index is read when the database is opened, and some updates rewrite the whole index) - support opening for read-only (flag = 'm') iÿÿÿÿNi t _Databasec B s¹ e Z e Z e Z d d „ Z d „ Z d „ Z e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e Z d „ Z d „ Z e Z d „ Z RS( t cc C sÊ | | _ | d k | _ | t j d | _ | t j d | _ | t j d | _ d | _ y t | j d ƒ } Wn<