Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatting.
  • Loading branch information
japhba committed Jan 26, 2024
commit db331940cfa4fc2fee8b6be5a5a7e17f933fdf46
3 changes: 0 additions & 3 deletions joblib/hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ def hash(pytree_or_leaf, **hash_any_kwargs):
leaf_hash = hash_any(leaf, **hash_any_kwargs)
return leaf_hash


def hash_any(obj, hash_name='md5', coerce_mmap=False):
""" Quick calculation of a hash to identify uniquely Python objects
containing numpy arrays.
Expand All @@ -337,8 +336,6 @@ def hash_any(obj, hash_name='md5', coerce_mmap=False):
raise ValueError("Valid options for 'hash_name' are {}. "
"Got hash_name={!r} instead."
.format(valid_hash_names, hash_name))


if 'numpy' in sys.modules:
hasher = NumpyHasher(hash_name=hash_name, coerce_mmap=coerce_mmap)
else:
Expand Down
3 changes: 0 additions & 3 deletions joblib/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ def warn(self, msg):
def info(self, msg):
logging.info("[%s]: %s" % (self, msg))

def info(self, msg):
logging.info("[%s]: %s" % (self, msg))

def debug(self, msg):
# XXX: This conflicts with the debug flag used in children class
logging.getLogger(self._name).debug("[%s]: %s" % (self, msg))
Expand Down