]> granicus.if.org Git - python/commit
Fall back to 'ascii' encoding if sys.getfilesystemencoding() returns
authorLars Gustäbel <lars@gustaebel.de>
Tue, 21 Aug 2007 12:17:05 +0000 (12:17 +0000)
committerLars Gustäbel <lars@gustaebel.de>
Tue, 21 Aug 2007 12:17:05 +0000 (12:17 +0000)
commit3741effcf8de2af3224e20af2865b7e378e59855
tree8787415d72087c64291b10cb75949662f0b3deab
parent4566c71e0ea13acd519b732eda3cf9d70d3a62ca
Fall back to 'ascii' encoding if sys.getfilesystemencoding() returns
None. Remove encoding and errors argument from pax create methods in
TarInfo, pax always uses UTF-8.
Adapt the documentation and tests to the new string/unicode concept.
Doc/library/tarfile.rst
Lib/tarfile.py
Lib/test/test_tarfile.py