[issue8390] tarfile: use surrogates for undecode fields

STINNER Victor report at bugs.python.org
Mon May 3 21:59:10 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

My patch changes test_uname_unicode() of test_tarfile for the GNU and ustar formats (but not PAX). In GNU and ustar formats, the fields can be encoded in any encoding, and may contain invalid byte sequences.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8390>
_______________________________________


More information about the Python-bugs-list mailing list