[issue47072] Database corruption with the shelve module

Hubert Tournier report at bugs.python.org
Sun Mar 27 03:56:23 EDT 2022


Hubert Tournier <hubert.tournier at gmail.com> added the comment:

The storage format used under Windows is completely different from the one used under Unix (or *BSD).

Apart from the .dat datafile, there is a .dir index file with CSV lines such as "'key', (offset, length)".

Whereas under Unix (or *BSD), I have:

# file whois_cache.db
whois_cache.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

I'll make a test on a Linux Raspberry Pi, to see if the issue is *BSD specific...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47072>
_______________________________________


More information about the Python-bugs-list mailing list