Survey: bsddb is definitely broken. Should it be fixed, or deprecated?

Skip Montanaro skip at pobox.com
Thu May 30 13:36:21 EDT 2002


    >> import anydbm
    >> anydbm._names = ['gdbm', 'dbm', 'dumbdbm']

    >> or some other combination of suitable module names.  Messing with
    >> that in the core is not really a very good option, since shuffling
    >> that list will cause existing code to break (won't be able to open
    >> existing databases).

    Oleg> No, you are wrong. anydbm opens existing database by using whichdb
    Oleg> module, and thus it can open any existsing database recognized by
    Oleg> whichdb.

Thanks for the correction.  My mistake.

Skip





More information about the Python-list mailing list