python / python/cpython

expose the offset of a zipfile from the start of the file as a public API

Open
#84,481 31 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.14 stdlib type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 40301
Nosy @Yhg1s, @stevendaprano, @serhiy-storchaka, @danifus, @massimosala
Files
  • py27_zipfile.patch: patch for Python 2.7.17
  • 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 2020-04-16.13:59:27.010>
    labels = ['type-feature', 'library', '3.9']
    title = 'zipfile module: new feature (two lines of code), useful for test, security and forensics'
    updated_at = <Date 2020-04-18.14:35:44.170>
    user = 'https://github.com/massimosala'
    

    bugs.python.org fields:

    activity = <Date 2020-04-18.14:35:44.170>
    actor = 'massimosala'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-04-16.13:59:27.010>
    creator = 'massimosala'
    dependencies = []
    files = ['49067']
    hgrepos = []
    issue_num = 40301
    keywords = ['patch']
    message_count = 13.0
    messages = ['366597', '366601', '366685', '366689', '366690', '366695', '366709', '366711', '366712', '366713', '366714', '366717', '366720']
    nosy_count = 6.0
    nosy_names = ['twouters', 'alanmcintyre', 'steven.daprano', 'serhiy.storchaka', 'dhillier', 'massimosala']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40301'
    versions = ['Python 3.9']
    

    Linked PRs
    • gh-132165
    • gh-132178
    • gh-132507

    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.

    Research direction

    Start by reviewing the zipfile module and the original py27_zipfile.patch, then compare the linked PRs gh-132165, gh-132178, and gh-132507. Done means the offset from the start of the file is exposed through a public zipfile API with the expected behavior documented or verified.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    backend
    Issue type
    Feature
    Difficulty
    3/5
    Estimated time
    1-2 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.