Skip to content

zipfile.ZipInfo slots can raise unexpected AttributeError #70373

@MatthewZipay

Description

@MatthewZipay
BPO 26185
Nosy @Yhg1s, @ned-deily, @DinoV, @takluyver, @serhiy-storchaka, @BoboTiG
PRs
  • bpo-26185: Fix repr() on empty ZipInfo object #13441
  • Files
  • zipfile.ZipInfo.patch: patch of Lib/zipfile.py and Lib/test/test_zipfile.py
  • 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 = <Date 2020-08-02.21:21:02.062>
    created_at = <Date 2016-01-23.10:41:53.478>
    labels = ['type-bug', 'library', '3.9']
    title = 'zipfile.ZipInfo slots can raise unexpected AttributeError'
    updated_at = <Date 2020-08-02.21:21:02.057>
    user = 'https://bugs.python.org/MatthewZipay'

    bugs.python.org fields:

    activity = <Date 2020-08-02.21:21:02.057>
    actor = 'ned.deily'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-08-02.21:21:02.062>
    closer = 'ned.deily'
    components = ['Library (Lib)']
    creation = <Date 2016-01-23.10:41:53.478>
    creator = 'Matthew Zipay'
    dependencies = []
    files = ['41698']
    hgrepos = []
    issue_num = 26185
    keywords = ['patch']
    message_count = 4.0
    messages = ['258859', '351452', '374694', '374697']
    nosy_count = 8.0
    nosy_names = ['twouters', 'alanmcintyre', 'ned.deily', 'dino.viehland', 'takluyver', 'serhiy.storchaka', 'Matthew Zipay', 'Tiger-222']
    pr_nums = ['13441']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26185'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions