1. 18 Jan, 2003 1 commit
    • Shane Hathaway's avatar
      Merge from 2_6 branch: fixed stored acquisition wrappers. · 8a7ff3a5
      Shane Hathaway authored
      Some indexes were storing acquisition wrappers in the cyclic references
      back to the ZCatalog instance.  Removed the acquisition wrappers and
      cleaned up a bad use of apply().  The acquisition wrappers were revealed
      by AdaptableStorage.
      
      There's a second problem, in that indexes are unknowingly storing references
      back to the ZCatalog in an unused attribute.  In the 2_6 branch it's
      hard to fix without breaking things, but on the HEAD there's a better way
      to fix this.  Coming soon, I hope.
      8a7ff3a5
  2. 17 Jan, 2003 2 commits
  3. 16 Jan, 2003 2 commits
  4. 14 Jan, 2003 4 commits
  5. 13 Jan, 2003 3 commits
  6. 11 Jan, 2003 1 commit
  7. 10 Jan, 2003 3 commits
  8. 09 Jan, 2003 2 commits
  9. 07 Jan, 2003 1 commit
    • Guido van Rossum's avatar
      Several changes, mostly to speed up logging when : · 354cd386
      Guido van Rossum authored
      - Cache the translations from severity to level and string in dicts,
        so these are normally done with a single dict.get() call rather than
        a Python function call.
      
      - Extract the PEP 282 level first, and check it against the effective
        level of the logger, so we can take an early exit if the logger
        won't handle the event.
      
      - Got rid of textwrap.  It slows things down, can frustrate grepping
        programs, and wasn't effective unless you were using Python 2.3
        anyway.
      
      - Got rid of the addHandler(NullHandler()) (seems like superstition).
      
      - Got rid of the log_format class variable (YAGNI).
      354cd386
  10. 06 Jan, 2003 6 commits
  11. 05 Jan, 2003 3 commits
  12. 03 Jan, 2003 2 commits
    • Barry Warsaw's avatar
      Here's a principled way to determine whether the BDBStorages are · faf72340
      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.
      faf72340
    • Jeremy Hylton's avatar
      Remove CVS history from this file. · 4ac9aff7
      Jeremy Hylton authored
      4ac9aff7
  13. 02 Jan, 2003 1 commit
  14. 22 Dec, 2002 3 commits
  15. 20 Dec, 2002 1 commit
  16. 19 Dec, 2002 2 commits
  17. 18 Dec, 2002 2 commits
  18. 17 Dec, 2002 1 commit