code: def __create_hashtable(self, t, level):
          
  
          hashes = {}
          for (i, item) in enumerate(t):
              try:
                  hashes_all = DeepHash(item,
                                        hashes=self.hashes,
                                        exclude_types=self.exclude_types,
                                        exclude_paths=self.exclude_paths,
                                        exclude_regex_paths=self.exclude_regex_paths,
                                        hasher=self.hasher,
                                        ignore_repetition=not self.report_repetition,
                                        significant_digits=self.significant_digits,
                                        number_format_notation=self.number_format_notation,
                                        ignore_string_type_changes=self.ignore_string_type_changes,
                                        ignore_numeric_type_changes=self.ignore_numeric_type_changes,
                                        ignore_type_in_groups=self.ignore_type_in_groups,
                                        ignore_type_subclasses=self.ignore_type_subclasses,
                                        ignore_string_case=self.ignore_string_case,
                                        number_to_string_func=self.number_to_string,
                                        )
                  item_hash = hashes_all[item]
              except Exception as e:  # pragma: no cover
                  logger.warning("Can not produce a hash for %s."
                                 "Not counting this object.\n %s" %
                                 (level.path(), e))
              else:
                  if item_hash is unprocessed:  # pragma: no cover
                      logger.warning("Item %s was not processed while hashing "
                                     "thus not counting this object." %
                                     level.path())
                  else:
                      self._add_hash(hashes=hashes, item_hash=item_hash, item=item, i=i)
          return hashes
docs: Create hashtable of {item_hash: (indexes, item)}