[issue3824] test_tarfile fails on cygwin (unicode decode error)

Amaury Forgeot d'Arc report at bugs.python.org
Sun Nov 20 17:37:50 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

grp.getgrgid() now calls .decode('utf8', errors="surrogateescape").
Even if cygwin does not correctly copy strings from the Windows registry, tarinfo.gname should now contain a string that will at least round trip and give the same value on disk.
Ocean-city, can you check whether this error still reproduces?

----------

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


More information about the Python-bugs-list mailing list