Ticket #1203: django.cache3.patch
File django.cache3.patch, 830 bytes (added by , 19 years ago) |
---|
-
cache.py
29 29 testing. Note that this cache backend is 30 30 NOT threadsafe! 31 31 32 locmem:/// A more sophistica ed local memory cache;32 locmem:/// A more sophisticated local memory cache; 33 33 this is multi-process- and thread-safe. 34 34 35 35 dummy:/// Doesn't actually cache. For use in test … … 350 350 pickle.dump(now + timeout, f, 2) 351 351 pickle.dump(value, f, 2) 352 352 except (IOError, OSError): 353 raise353 pass 354 354 355 355 def delete(self, key): 356 356 try: