summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/tarfile.py2
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index f48b477bb6..eb42055dd2 100644
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -1489,7 +1489,7 @@ class TarFile(object):
ignore_zeros = False # If true, skips empty or invalid blocks and
# continues processing.
- errorlevel = 0 # If 0, fatal errors only appear in debug
+ errorlevel = 1 # If 0, fatal errors only appear in debug
# messages (if debug >= 0). If > 0, errors
# are passed to the caller as exceptions.
diff --git a/Misc/NEWS b/Misc/NEWS
index 2ccef1001c..9cc7e82f6e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@ Core and Builtins
Library
-------
+- Issue #7357: tarfile no longer suppresses fatal extraction errors by
+ default.
+
- Issue #7470: logging: fix bug in Unicode encoding fallback.
- Issue #5949: fixed IMAP4_SSL hang when the IMAP server response is