This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author HFM
Recipients HFM, alanmcintyre, bialix, python-dev, serhiy.storchaka, tarek, twouters
Date 2019-02-11.12:40:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549888846.57.0.721579437713.issue35964@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-11 12:40:49HFMsetrecipients: + HFM, twouters, alanmcintyre, bialix, tarek, python-dev, serhiy.storchaka
2019-02-11 12:40:46HFMsetmessageid: <1549888846.57.0.721579437713.issue35964@roundup.psfhosted.org>
2019-02-11 12:40:46HFMlinkissue35964 messages
2019-02-11 12:40:46HFMcreate