summaryrefslogtreecommitdiffstats
path: root/Lib/tarfile.py
diff options
context:
space:
mode:
authorCAM Gerlach <CAM.Gerlach@Gerlach.CAM>2019-03-21 14:44:51 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-03-21 14:44:51 (GMT)
commite680c3db80efc4a1d637dd871af21276db45ae03 (patch)
tree80df96129febac2d0a6bb1e8463f1785f96996ae /Lib/tarfile.py
parented5e29cba500c2336aacdb7c77953f1064235b72 (diff)
downloadcpython-e680c3db80efc4a1d637dd871af21276db45ae03.zip
cpython-e680c3db80efc4a1d637dd871af21276db45ae03.tar.gz
cpython-e680c3db80efc4a1d637dd871af21276db45ae03.tar.bz2
bpo-36268: Change default tar format to pax from GNU. (GH-12355)
Diffstat (limited to 'Lib/tarfile.py')
-rwxr-xr-xLib/tarfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py
index bb09d10..30cecff 100755
--- a/Lib/tarfile.py
+++ b/Lib/tarfile.py
@@ -105,7 +105,7 @@ SOLARIS_XHDTYPE = b"X" # Solaris extended header
USTAR_FORMAT = 0 # POSIX.1-1988 (ustar) format
GNU_FORMAT = 1 # GNU tar format
PAX_FORMAT = 2 # POSIX.1-2001 (pax) format
-DEFAULT_FORMAT = GNU_FORMAT
+DEFAULT_FORMAT = PAX_FORMAT
#---------------------------------------------------------
# tarfile constants