Serious problem with Shelve

Skip Montanaro skip at
Tue Aug 19 17:08:16 CEST 2003

    Rami> Incidentally, on the other machine I mentioned (the one on which
    Rami> shelve worked perfectly with 2.2.3) shelve still works perfectly
    Rami> after upgrading to 2.3.  Since that is a Linux 2 machine, I figure
    Rami> perhaps it is using a different db like gdbm or something ...

Try this using python 2.2.3 and python 2.3:

    import whichdb
    whichdb.whichdb(os.path.join(tgtdir, dbfn))

and see what it prints.  That will keep you from guessing about the nature
of the file.


More information about the Python-list mailing list