              else:
                  sys.exit(exit_code)
  
  
  def jython_reloader(main_func, args, kwargs):
      from _systemrestart import SystemRestart
      _thread.start_new_thread(main_func, args)
 
</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
              else:
                  sys.exit(exit_code)
        except KeyboardInterrupt:
            pass
  
  
  def jython_reloader(main_func, args, kwargs):
      from _systemrestart import SystemRestart
      _thread.start_new_thread(main_func, args)
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