behavioral differences between shutil.unpack_archive and ZipFile.extractall

Open
#65,106 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

The issue points to shutil.diff and test_unpack.zip, which contains the test script and test archives; PR #29910 is also referenced. Start by reviewing those artifacts and the issue history to determine the intended relationship between shutil.unpack_archive and ZipFile.extractall, then validate any proposed behavior or documentation against the supplied tests.

Written by the indexing model from the issue text.

Description

stdlib type-bug
BPO 20907
Nosy @pitrou, @merwok, @bitdancer, @MarSoft, @akulakov, @huantianad
PRs
  • python/cpython#29910
  • Files
  • shutil.diff: patch
  • test_unpack.zip: test script and test zips
  • 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 = None
    closed_at = None
    created_at = <Date 2014-03-13.09:46:05.306>
    labels = ['3.11', 'type-bug', 'library', 'docs']
    title = 'behavioral differences between shutil.unpack_archive and ZipFile.extractall'
    updated_at = <Date 2022-04-07.21:02:08.525>
    user = 'https://bugs.python.org/peterpsantoronet'
    

    bugs.python.org fields:

    activity = <Date 2022-04-07.21:02:08.525>
    actor = 'MarSoft'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2014-03-13.09:46:05.306>
    creator = 'peter@psantoro.net'
    dependencies = []
    files = ['34393', '34408']
    hgrepos = []
    issue_num = 20907
    keywords = ['patch']
    message_count = 10.0
    messages = ['213374', '213494', '214082', '214093', '214127', '214196', '214214', '397062', '407620', '407622']
    nosy_count = 8.0
    nosy_names = ['pitrou', 'eric.araujo', 'r.david.murray', 'docs@python', 'peter@psantoro.net', 'MarSoft', 'andrei.avk', 'huantian']
    pr_nums = ['29910']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20907'
    versions = ['Python 3.11']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.