code: def _redirect_stderr():
      
      sys.stderr.flush()
      stderr_fileno = sys.stderr.fileno()
      orig_stderr = os.dup(stderr_fileno)
      devnull = os.open(os.devnull, os.O_WRONLY)
      os.dup2(devnull, stderr_fileno)
      os.close(devnull)
      return orig_stderr
docs: Redirect stderr for subprocesses to /dev/null
  
      Silences copious compilation messages.
  
      Returns
      -------
      orig_stderr : file descriptor
          Copy of original stderr file descriptor