Skip to content

PyZipFile.writepy gives internal error on syntax errors #56213

@BenMorgan

Description

@BenMorgan
mannequin
BPO 12004
Nosy @ericvsmith, @serhiy-storchaka
Files
  • test_zipfile_error.py: Test case
  • pyzipfile-error.patch: Patch
  • test-zipfile.patch: test_zipfile.py test case
  • 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/serhiy-storchaka'
    closed_at = <Date 2013-01-29.18:28:31.086>
    created_at = <Date 2011-05-05.02:27:20.205>
    labels = ['type-bug', 'library']
    title = 'PyZipFile.writepy gives internal error on syntax errors'
    updated_at = <Date 2013-01-29.18:28:31.084>
    user = 'https://bugs.python.org/BenMorgan'

    bugs.python.org fields:

    activity = <Date 2013-01-29.18:28:31.084>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-01-29.18:28:31.086>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2011-05-05.02:27:20.205>
    creator = 'Ben.Morgan'
    dependencies = []
    files = ['21888', '21889', '21903']
    hgrepos = []
    issue_num = 12004
    keywords = ['patch']
    message_count = 10.0
    messages = ['135170', '135254', '135256', '176743', '178318', '178639', '179694', '179735', '180921', '180923']
    nosy_count = 5.0
    nosy_names = ['alanmcintyre', 'eric.smith', 'python-dev', 'Ben.Morgan', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12004'
    versions = ['Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Labels

    stdlibStandard 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