  from django.core.signals import request_finished
  
  # This import does nothing, but it's necessary to avoid some race conditions
  # in the threading module. See http://code.djangoproject.com/ticket/2330 .
  with suppress(ImportError):
      import threading  # NOQA
  
  try:
      import termios
  except ImportError:
 
</s> remove from contextlib import suppress
 </s> add  </s> remove from contextlib import suppress

 </s> add  </s> remove with suppress(ImproperlyConfigured):
 </s> add try: </s> remove with suppress(ImportError):
 </s> add try:
try:
  from django.core.signals import request_finished
  
  # This import does nothing, but it's necessary to avoid some race conditions
  # in the threading module. See http://code.djangoproject.com/ticket/2330 .
try:
      import threading  # NOQA
  
  try:
      import termios
  except ImportError:
keep 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/utils/autoreload.py