  def clear_script_prefix():
      """
      Unset the script prefix for the current thread.
      """
      with suppress(AttributeError):
          del _prefixes.value
  
  
  def set_urlconf(urlconf_name):
      """
 
</s> remove         with suppress(AttributeError):  # Backend has no clean_username method.
 </s> add         try: </s> remove     with suppress(Exception):
 </s> add     try:
    try:
  def clear_script_prefix():
      """
      Unset the script prefix for the current thread.
      """
    try:
          del _prefixes.value
  
  
  def set_urlconf(urlconf_name):
      """
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/urls/base.py