Skip to content

Commit bba1732

Browse files
committed
docs
1 parent d9cb61c commit bba1732

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

deepdiff/diff.py

-5
Original file line numberDiff line numberDiff line change
@@ -1132,11 +1132,6 @@ def _create_hashtable(self, level, t):
11321132
apply_hash=True,
11331133
**self.deephash_parameters,
11341134
)
1135-
# try:
1136-
# except Exception as e: # pragma: no cover
1137-
# import pytest; pytest.set_trace()
1138-
# self.log_err("Can not produce a hash for iterable %s. %s" %
1139-
# (level.path(), e))
11401135
return local_hashes
11411136

11421137
@staticmethod

docs/diff_doc.rst

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ log_frequency_in_sec: Integer, default = 0
157157
log_scale_similarity_threshold: float, default = 0.1
158158
:ref:`use_log_scale_label` along with :ref:`log_scale_similarity_threshold_label` can be used to ignore small changes in numbers by comparing their differences in logarithmic space. This is different than ignoring the difference based on significant digits.
159159

160+
log_stacktrace: Boolean, default = False
161+
If True, we log the stacktrace when logging errors. Otherwise we only log the error message.
162+
160163
max_passes: Integer, default = 10000000
161164
:ref:`max_passes_label` defined the maximum number of passes to run on objects to pin point what exactly is different. This is only used when ignore_order=True. A new pass is started each time 2 iterables are compared in a way that every single item that is different from the first one is compared to every single item that is different in the second iterable.
162165

0 commit comments

Comments
 (0)