Skip to content

Port zipp to zipfile #81013

Closed
Closed

Description

@jaraco
BPO 36832
Nosy @warsaw, @jaraco
PRs
  • bpo-36832: add zipfile.Path #13153
  • bpo-36832: Add support for .parent and .joinpath in zipfile.Path #13213
  • 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/jaraco'
    closed_at = <Date 2019-05-08.13:47:41.906>
    created_at = <Date 2019-05-07.13:47:37.280>
    labels = ['3.8', 'type-feature', 'library']
    title = 'Port zipp to zipfile'
    updated_at = <Date 2019-05-09.01:00:39.030>
    user = 'https://github.com/jaraco'

    bugs.python.org fields:

    activity = <Date 2019-05-09.01:00:39.030>
    actor = 'jaraco'
    assignee = 'jaraco'
    closed = True
    closed_date = <Date 2019-05-08.13:47:41.906>
    closer = 'barry'
    components = ['Library (Lib)']
    creation = <Date 2019-05-07.13:47:37.280>
    creator = 'jaraco'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36832
    keywords = ['patch']
    message_count = 2.0
    messages = ['341727', '341873']
    nosy_count = 2.0
    nosy_names = ['barry', 'jaraco']
    pr_nums = ['13153', '13213']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue36832'
    versions = ['Python 3.8']

    Activity

    1. jaraco commented on May 7, 2019

      @jaraco
      MemberAuthor

      The zipp package implements a pathlib-compatable wrapper for zipfiles and is used by the importlib_metadata project. The port of importlib_metadata to importlib.metadata (bpo-34632) currently embeds that functionality, but this functionality is probably better exposed as part of the zipfile or pathlib modules.

      Yesterday, at PyCon sprints, we considered which stdlib module would be better to host this functionality, and a quick analysis revealed that there's no pathlib dependency but there is a zipfile dependency, suggesting that zipfile should be preferred.

    2. self-assigned this
      on May 7, 2019
    3. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on May 7, 2019
    4. warsaw commented on May 8, 2019

      @warsaw
      Member

      New changeset b2758ff by Barry Warsaw (Jason R. Coombs) in branch 'master':
      bpo-36832: add zipfile.Path (bpo-13153)
      b2758ff

    5. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions