Message335211
Running shutil.make_archive('a', 'tar', 'subdir') is created wrong and not really needed entry "./" which is visible in tarfile.Tarfile.list():
['./', 'foo/', 'hello.txt', 'foo/bar.txt']
I have tested and found this issue in the following versions of python:
2.7.15rc1 FOUND
3.6.7 FOUND
3.7.1 FOUND
I've attached a simple script which illustrates problem. Tested on Ubuntu Linux with mentioned python versions.
Similar issue has been fixed for 'zip' (https://bugs.python.org/issue28488) but exists for 'tar' archives. |
|
Date |
User |
Action |
Args |
2019-02-11 12:40:49 | HFM | set | recipients:
+ HFM, twouters, alanmcintyre, bialix, tarek, python-dev, serhiy.storchaka |
2019-02-11 12:40:46 | HFM | set | messageid: <1549888846.57.0.721579437713.issue35964@roundup.psfhosted.org> |
2019-02-11 12:40:46 | HFM | link | issue35964 messages |
2019-02-11 12:40:46 | HFM | create | |
|