Ticket #1203: django.cache3.patch

File django.cache3.patch, 830 bytes (added by eugene@…, 19 years ago)
  • cache.py

     
    2929                                    testing. Note that this cache backend is
    3030                                    NOT threadsafe!
    3131
    32     locmem:///                      A more sophisticaed local memory cache;
     32    locmem:///                      A more sophisticated local memory cache;
    3333                                    this is multi-process- and thread-safe.
    3434
    3535    dummy:///                       Doesn't actually cache. For use in test
     
    350350            pickle.dump(now + timeout, f, 2)
    351351            pickle.dump(value, f, 2)
    352352        except (IOError, OSError):
    353             raise
     353            pass
    354354
    355355    def delete(self, key):
    356356        try:
Back to Top