code: def compile_(
      source,
      filename=None,
      mode="exec",
      flags=generators.compiler_flag,
      dont_inherit=0,
  ):
      """compile the given source to a raw code object,
      and maintain an internal cache which allows later
      retrieval of the source code for the code object
      and any recursively created code objects.
      """
      if _ast is not None and isinstance(source, _ast.AST):
          # XXX should Source support having AST?
          return cpy_compile(
              source, filename, mode, flags, dont_inherit
          )
      _genframe = sys._getframe(1)  # the caller
      s = Source(source)
      co = s.compile(filename, mode, flags, _genframe=_genframe)
      return co
  
imports: from __future__ import generators
  from bisect import bisect_right
  import sys
  import inspect, tokenize
  import py
  from types import ModuleType
label_desc: Use image node_id 1 for calling a global function with example usage: compile_(source, filename, mode, flags, dont_inherit) and returns: co, cpy_compile