%PDF- %PDF-
| Direktori : /snap/core26/current/lib/python3.14/dbm/__pycache__/ |
| Current File : //snap/core26/current/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc |
+
4��j�- � � � R t ^ RIt^ RIt^ RIt^ RItRR.t Rt
]t ! R R]P P 4 tRR ltR# ) 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')
N�error�openi c � a � ] tR t^#t o ]t]tRR ltR tR tR t ] t
R tR tR t
R tR tR
tR tR tR
tR tR t]tR tR t]tR tR tR tRtV tR# )� _Databasec � � V P P V4 pW n VR 8H V n VR, V n VR, V n VR, V n RV n V P V4 V P V4 R# )�rs .dirs .dats .bakN)
�_os�fsencode�_mode� _readonly�_dirfile�_datfile�_bakfile�_index�_create�_update)�self�filebasename�mode�flags &&&&�/lib/python3.14/dbm/dumb.py�__init__�_Database.__init__0 sq � ��x�x�(�(��6���
��#�+��� %�w�.��
� %�w�.��
�$�w�.��
� ���
���T�����T�� c � � VR 8X dB V P V P V P 3 F p \ P ! V4 K \ P ! V P RRR7 pVP 4 R# \
d Kb i ; i \
dq TR9 d h \ P ! T P RRR7 ;_uu_ 4 pT P T P 4 RRR4 R# + '