File "dumb.cpython-38.opt-1.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python38/lib64/python3.8/dbm/__pycache__/dumb.cpython-38.opt-1.pyc
File size: 7.61 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
U
if- @ sV d Z ddlZddlZddlZddlZddgZ dZ
eZG dd dej
jZdd
dZdS )a 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')
Nerroropeni c @ s e Zd ZeZeZd+ddZdd Zdd Zdd ZeZ d
d Z
dd
Zdd Zdd Z
dd Zdd Zdd Zdd Zdd Zdd Zdd ZeZd d! Zd"d# ZeZd$d% Zd&d'