[Python-Dev] Distutils confuses Berkeley DB and dbm?
Martin v. Loewis
martin@v.loewis.de
31 May 2002 09:06:58 +0200
Skip Montanaro <skip@pobox.com> writes:
> Would someone on Linux please try the following:
>
> import dbm
> f = dbm.open("foo", "c")
> f["1"] = "1"
> f.close
>
> then ask the file command what kind of file it is. On my system it tells me
> the file is a Berkeley DB 1.85 hash file.
On my SuSE 8.0 installation, using /usr/bin/python, it tells me
foo.dir: GNU dbm 1.x or ndbm database, little endian
foo.pag: GNU dbm 1.x or ndbm database, little endian
Regards,
Martin