code: def _add_stderr_to_debug(stderr_queue):
      while True:
          # Try to do some error reporting from the subprocess and print its
          # stderr contents.
          try:
              line = stderr_queue.get_nowait()
              line = line.decode("utf-8", "replace")
              debug.warning("stderr output: %s" % line.rstrip("\n"))
          except Empty:
              break
  
imports: import os
  import sys
  import subprocess
  import socket
  import errno
  import weakref
  import traceback
  from functools import partial
  from threading import Thread
  from jedi._compatibility import queue, is_py3, force_unicode, pickle_dump, pickle_load, GeneralizedPopen, print_to_stderr
  from jedi import debug
  from jedi.cache import memoize_method
  from jedi.evaluate.compiled.subprocess import functions
  from jedi.evaluate.compiled.access import DirectObjectAccess, AccessPath, SignatureParam
  from jedi.api.exceptions import InternalError
label_desc: Use image node_id 2 for calling a global function with example usage: _add_stderr_to_debug(stderr_queue) without return types