      if os.environ.get("RUN_MAIN") == "true":
          _thread.start_new_thread(main_func, args, kwargs)
          try:
              reloader_thread()
      else:
          try:
              exit_code = restart_with_reloader()
              if exit_code < 0:
                  os.kill(os.getpid(), -exit_code)
 
</s> remove         with suppress(KeyboardInterrupt):
 </s> add         try: </s> remove         with suppress(KeyboardInterrupt):
 </s> add         try: </s> remove             with suppress(OSError):
 </s> add             try:
        except KeyboardInterrupt:
            pass
      if os.environ.get("RUN_MAIN") == "true":
          _thread.start_new_thread(main_func, args, kwargs)
          try:
              reloader_thread()
        except KeyboardInterrupt:
            pass
      else:
          try:
              exit_code = restart_with_reloader()
              if exit_code < 0:
                  os.kill(os.getpid(), -exit_code)
keep keep keep add 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