                  elif ns not in app_list:
                      # The name isn't shared by one of the instances (i.e.,
                      # the default) so pick the first instance as the default.
                      ns = app_list[0]
  
              if ns != current_ns:
                  current_path = None
  
 
</s> remove             with suppress(KeyError):
 </s> add             try: </s> remove         # Ignore decode error in SSL/TLS connection tests as the test only
        # cares whether the connection attempt was made.
        with suppress(UnicodeDecodeError):
 </s> add         try: </s> remove         with suppress(KeyError):
 </s> add         try:
            except KeyError:
                pass
                  elif ns not in app_list:
                      # The name isn't shared by one of the instances (i.e.,
                      # the default) so pick the first instance as the default.
                      ns = app_list[0]
            except KeyError:
                pass
  
              if ns != current_ns:
                  current_path = None
  
keep keep keep add keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/urls/base.py