def _Open(self, path_spec, mode='rb'):
    if not path_spec.HasParent():
      raise errors.PathSpecError(
          u'Unsupported path specification without parent.')

    file_object = resolver.Resolver.OpenFileObject(
        path_spec.parent, resolver_context=self._resolver_context)

    try:
      vshadow_volume = pyvshadow.volume()
      vshadow_volume.open_file_object(file_object)
    except:
      file_object.close()
      raise

    self._file_object = file_object
    self._vshadow_volume = vshadow_volume
Helper method to be able to pass needed vars to _compute_subset.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/vfs/vshadow_file_system.py/VShadowFileSystem._Open--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/nonparametric/_kernel_base.py/GenericKDE._get_class_vars_type