commit | 7d4d074c9996f07a859a6e5a38774aa65a4ff85c | [log] [tgz] |
---|---|---|
author | Lars Gustäbel <lars@gustaebel.de> | Wed Dec 21 19:27:50 2011 +0100 |
committer | Lars Gustäbel <lars@gustaebel.de> | Wed Dec 21 19:27:50 2011 +0100 |
tree | 0b687fb4e67971b42df43b78a3bc78ae1701a065 | |
parent | 5b95eb90a7167285b6544b50865227c584943c9a [diff] |
Issue #13639: Accept unicode filenames in tarfile.open(mode="w|gz"). Passing a unicode filename to tarfile.open() along with mode "w|gz" failed with a UnicodeError because the filename was not encoded properly before being written to the gzipped stream in the FNAME extra field.