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

Oleg Broytmann phd at phd.pp.ru
Thu May 30 11:42:40 EDT 2002


On Thu, May 30, 2002 at 10:26:04AM -0500, Skip Montanaro wrote:
>     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).

   No, you are wrong. anydbm opens existing database by using whichdb
module, and thus it can open any existsing database recognized by whichdb.
   (But I am not supporting core change, anyway :)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list