parameters: (src, dest)
docstring: Copying special files is not supported, but as a convenience to users
  
      we skip errors copying them. This supports tools that may create e.g.
  
      socket files in the project source directory.
docstring_summary: Copying special files is not supported, but as a convenience to users
docstring_tokens: Copying special files is not supported but as a convenience to users
function: def _copy2_ignoring_special_files(src, dest):
  
      # type: (str, str) -> None
  
      """Copying special files is not supported, but as a convenience to users
  
      we skip errors copying them. This supports tools that may create e.g.
  
      socket files in the project source directory.
  
      """
  
      try:
  
          copy2_fixed(src, dest)
  
      except shutil.SpecialFileError as e:
  
          # SpecialFileError may be raised due to either the source or
  
          # destination. If the destination was the cause then we would actually
  
          # care, but since the destination directory is deleted prior to
  
          # copy we ignore all of them assuming it is caused by the source.
  
          logger.warning(
  
              "Ignoring special file error '%s' encountered copying %s to %s.",
  
              str(e),
  
              path_to_display(src),
  
              path_to_display(dest),
  
          )
function_tokens: def _copy2_ignoring_special_files ( src , dest ) : # type: (str, str) -> None try : copy2_fixed ( src , dest ) except shutil . SpecialFileError as e : # SpecialFileError may be raised due to either the source or # destination. If the destination was the cause then we would actually # care, but since the destination directory is deleted prior to # copy we ignore all of them assuming it is caused by the source. logger . warning ( "Ignoring special file error '%s' encountered copying %s to %s." , str ( e ) , path_to_display ( src ) , path_to_display ( dest ) , )