          for closable in self._closable_objects:
              try:
                  closable.close()
          self.closed = True
          signals.request_finished.send(sender=self._handler_class)
  
      def write(self, content):
          raise IOError("This %s instance is not writable" % self.__class__.__name__)
  
 
</s> remove             with suppress(Exception):
 </s> add             try: </s> remove             with suppress(ImportError):
 </s> add             try: </s> remove             with suppress(KeyError):
 </s> add             try: </s> remove             with suppress(DatabaseError):
 </s> add             try:
            except Exception:
                pass
          for closable in self._closable_objects:
              try:
                  closable.close()
            except Exception:
                pass
          self.closed = True
          signals.request_finished.send(sender=self._handler_class)
  
      def write(self, content):
          raise IOError("This %s instance is not writable" % self.__class__.__name__)
  
keep keep add keep 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/http/response.py