1. 09 Jan, 2003 11 commits
  2. 08 Jan, 2003 1 commit
  3. 07 Jan, 2003 20 commits
  4. 06 Jan, 2003 5 commits
  5. 03 Jan, 2003 3 commits
    • Barry Warsaw's avatar
    • Barry Warsaw's avatar
      Here's a principled way to determine whether the BDBStorages are · 17417a36
      Barry Warsaw authored
      available or not, and also fixes to all the tests so they won't crap
      out or complain if not.
      
      To test whether these storages are avialable (including all package
      dependencies), do:
      
      import BDBStorage
      if BDBStorage.is_available:
          # okay to use
      
      Also, in BDBStorage/__init__.py do some cross-platform compatibility
      for the bsddb module; in Python 2.3 we can just use the built-in
      module, but in earlier Pythons we have to use bsddb3.  Now you can
      just use "from BDBStorage import db" to get the proper db object.
      17417a36
    • Barry Warsaw's avatar
      Here's a principled way to determine whether the BDBStorages are · d700dd19
      Barry Warsaw authored
      available or not, and also fixes to all the tests so they won't crap
      out or complain if not.
      
      To test whether these storages are avialable (including all package
      dependencies), do:
      
      import BDBStorage
      if BDBStorage.is_available:
          # okay to use
      
      Also, in BDBStorage/__init__.py do some cross-platform compatibility
      for the bsddb module; in Python 2.3 we can just use the built-in
      module, but in earlier Pythons we have to use bsddb3.  Now you can
      just use "from BDBStorage import db" to get the proper db object.
      d700dd19