code: def _get_cache_name(function):
      
      module_name = _inspect.getfile(function)
      module_name = _os.path.abspath(module_name)
      cache_name = module_name
  
      # fix for '<string>' or '<stdin>' in exec or interpreter usage.
      cache_name = cache_name.replace('<', '_lt_')
      cache_name = cache_name.replace('>', '_gt_')
  
      tmpdir = _os.getenv('TMPDIR') or _os.getenv('TEMP') or _os.getenv('TMP')
      if tmpdir:
          cache_name = tmpdir + '/filecache_' + cache_name.replace(_os.sep, '@')
  
      cache_name += '.cache'
      return cache_name
docs: returns a name for the module's cache db.