  "Thread-safe in-memory cache backend."
  import pickle
  import time
  from contextlib import contextmanager, suppress
  
  from django.core.cache.backends.base import DEFAULT_TIMEOUT, BaseCache
  from django.utils.synch import RWLock
  
  # Global in-memory store of cache data. Keyed by name, to provide
 
</s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress
 </s> add 
from contextlib import contextmanager
  "Thread-safe in-memory cache backend."
  import pickle
  import time
from contextlib import contextmanager
  
  from django.core.cache.backends.base import DEFAULT_TIMEOUT, BaseCache
  from django.utils.synch import RWLock
  
  # Global in-memory store of cache data. Keyed by name, to provide
keep keep keep replace keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/core/cache/backends/locmem.py