code: def _attempt_load_module(module_name):
      try:
          extension_module = importlib.import_module(module_name)
      except ImportError as e:
          if _py_ver >= (3, 6):
              # e.name is set to the name of the package that fails to load
              # so don't error ONLY IF the error is importing this module (but do
              # error if there is a transitive import error)
              errored_names = [EXT_PKG]
              parts = module_name.split(".")
              for p in parts[1:]:
                  errored_names.append("%s.%s" % (errored_names[-1], p))
              if not (
                  isinstance(e, ModuleNotFoundError)
                  and e.name in errored_names
              ):
                  print(
                      "The following exception occurred while trying to load '%s' ('%s')"
                      % (EXT_PKG, module_name)
                  )
                  raise
          _ext_debug(
              "        Unknown error when loading '%s': %s"
              % (module_name, e)
          )
          return None
      else:
          return extension_module
  
imports: from __future__ import print_function
  import importlib
  import json
  import os
  import re
  import sys
  import types
  from collections import defaultdict, namedtuple
  from importlib.abc import MetaPathFinder, Loader
  from itertools import chain
label_desc: Use image node_id 14 for calling a global function with example usage: _attempt_load_module(module_name) and returns: extension_module, None