[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread STINNER Victor
STINNER Victor added the comment: FYI the first release including the fix 78ede2baa146 is Python 3.5.2. -- ___ Python tracker ___

[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread STINNER Victor
STINNER Victor added the comment: Oh, Serhiy just closed the issue as a duplicate. -- ___ Python tracker ___

[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread STINNER Victor
STINNER Victor added the comment: An entry in a TAR archive has a name. The name field has a size of 100 bytes. The field is padded with zero bytes. I don't know if it must or must not end with a zero byte.

[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks as a duplicate of issue24838. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> tarfile.py: fix GNU and USTAR formats to properly handle paths with special characters that are

[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread Decorater
Decorater added the comment: hmm This shows a bug in shutil.make_archive in python3. Run ./test.sh to run shutil.make_archive in both python2 and python3 on the wdir and then extract each of them for comparison. The file called

[issue28831] Python 3's shutil.make_archive is truncating filenames

2016-11-29 Thread Dan “locallycompact” Firth
New submission from Dan “locallycompact” Firth: I have made an example of this bug here: https://github.com/locallycompact/py3_make_archive_bug Using shutil.make_archive() in python2 works fine, where as in python3 one of the filenames has been truncated by five characters after unpacking the