Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port zipp to zipfile #81013

Closed
jaraco opened this issue May 7, 2019 · 2 comments
Closed

Port zipp to zipfile #81013

jaraco opened this issue May 7, 2019 · 2 comments
Assignees
Labels
3.8 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@jaraco
Copy link
Member

jaraco commented May 7, 2019

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']

    @jaraco
    Copy link
    Member Author

    jaraco commented May 7, 2019

    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.

    @jaraco jaraco self-assigned this May 7, 2019
    @jaraco jaraco added stdlib Python modules in the Lib dir 3.8 (EOL) end of life type-feature A feature request or enhancement labels May 7, 2019
    @warsaw
    Copy link
    Member

    warsaw commented May 8, 2019

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

    @warsaw warsaw closed this as completed May 8, 2019
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.8 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants