summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLars Gustäbel <lars@gustaebel.de>2007-05-27 19:49:30 (GMT)
committerLars Gustäbel <lars@gustaebel.de>2007-05-27 19:49:30 (GMT)
commita0fcb9384ead24c412b93a4de903788eb5828dbe (patch)
tree6bf71c1d2d2943690bd59f838561520fcaadfdbf /Misc
parent0ac601995ccd123696b44b0194c3718f8d364c07 (diff)
downloadcpython-a0fcb9384ead24c412b93a4de903788eb5828dbe.zip
cpython-a0fcb9384ead24c412b93a4de903788eb5828dbe.tar.gz
cpython-a0fcb9384ead24c412b93a4de903788eb5828dbe.tar.bz2
Added errors argument to TarFile class that allows the user to
specify an error handling scheme for character conversion. Additional scheme "utf-8" in read mode. Unicode input filenames are now supported by design. The values of the pax_headers dictionary are now limited to unicode objects. Fixed: The prefix field is no longer used in PAX_FORMAT (in conformance with POSIX). Fixed: In read mode use a possible pax header size field. Fixed: Strip trailing slashes from pax header name values. Fixed: Give values in user-specified pax_headers precedence when writing. Added unicode tests. Added pax/regtype4 member to testtar.tar all possible number fields in a pax header. Added two chapters to the documentation about the different formats tarfile.py supports and how unicode issues are handled.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index badfffd..1ce32ce 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -220,6 +220,9 @@ Core and builtins
Library
-------
+- tarfile.py: Improved unicode support. Unicode input names are now
+ officially supported. Added "errors" argument to the TarFile class.
+
- urllib.ftpwrapper class now accepts an optional timeout.
- shlex.split() now has an optional "posix" parameter.