Skip to content

Updating zip comment doesn't truncate the zip file #84286

@yudilevi2

Description

@yudilevi2
mannequin
BPO 40105
Nosy @Yhg1s, @taleinat, @serhiy-storchaka, @miss-islington, @yudilevi2, @mzr
PRs
  • bpo-40105: fixed zip comment update #19333
  • bpo-40105: Truncating file if opened in append mode. #19337
  • [3.9] bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337) #22436
  • [3.8] bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337) #22437
  • [3.9] bpo-40105: ZipFile truncate in append mode with shorter comment (GH-19337) #22439
  • 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-09-28.18:54:51.480>
    created_at = <Date 2020-03-29.20:48:23.704>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = "Updating zip comment doesn't truncate the zip file"
    updated_at = <Date 2020-09-28.20:18:50.333>
    user = 'https://github.com/yudilevi2'

    bugs.python.org fields:

    activity = <Date 2020-09-28.20:18:50.333>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-09-28.18:54:51.480>
    closer = 'taleinat'
    components = ['Library (Lib)']
    creation = <Date 2020-03-29.20:48:23.704>
    creator = 'yudilevi'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40105
    keywords = ['patch']
    message_count = 5.0
    messages = ['365278', '377614', '377615', '377617', '377623']
    nosy_count = 6.0
    nosy_names = ['twouters', 'taleinat', 'serhiy.storchaka', 'miss-islington', 'yudilevi', 'mzr']
    pr_nums = ['19333', '19337', '22436', '22437', '22439']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40105'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.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