Skip to content

shutil.make_archive (xxx, zip, root_dir) is adding './' entry to archive which is wrong #72674

@bialix

Description

@bialix
mannequin
BPO 28488
Nosy @Yhg1s, @tarekziade, @serhiy-storchaka
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • make-archive-test.py: reproduce the problem
  • shutil_make_archive_zip_curdir.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2016-10-23.16:16:23.824>
    created_at = <Date 2016-10-20.13:07:50.407>
    labels = ['3.7', 'type-bug', 'library']
    title = "shutil.make_archive (xxx, zip, root_dir) is adding './' entry to archive which is wrong"
    updated_at = <Date 2019-02-08.09:35:14.035>
    user = 'https://bugs.python.org/bialix'

    bugs.python.org fields:

    activity = <Date 2019-02-08.09:35:14.035>
    actor = 'HFM'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-10-23.16:16:23.824>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2016-10-20.13:07:50.407>
    creator = 'bialix'
    dependencies = []
    files = ['45151', '45153']
    hgrepos = []
    issue_num = 28488
    keywords = ['patch']
    message_count = 4.0
    messages = ['279031', '279042', '279258', '335067']
    nosy_count = 7.0
    nosy_names = ['twouters', 'alanmcintyre', 'bialix', 'tarek', 'python-dev', 'serhiy.storchaka', 'HFM']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28488'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifestdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions