Skip to content

Remove support of deprecated mode 'U' in zipfile #71216

Closed

Description

@serhiy-storchaka
BPO 27029
Nosy @Yhg1s, @serhiy-storchaka
Files
  • zipfile_remove_deprecated.patch
  • zipfile_remove_deprecated2.patch
  • 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 2016-06-11.16:37:20.486>
    created_at = <Date 2016-05-15.18:23:22.853>
    labels = ['type-feature', 'library']
    title = "Remove support of deprecated mode 'U' in zipfile"
    updated_at = <Date 2016-06-11.16:37:20.484>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2016-06-11.16:37:20.484>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-06-11.16:37:20.486>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2016-05-15.18:23:22.853>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['42861', '42958']
    hgrepos = []
    issue_num = 27029
    keywords = ['patch']
    message_count = 4.0
    messages = ['265640', '266178', '268227', '268229']
    nosy_count = 4.0
    nosy_names = ['twouters', 'alanmcintyre', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue27029'
    versions = ['Python 3.6']

    Activity

    1. serhiy-storchaka commented on May 15, 2016

      @serhiy-storchaka
      MemberAuthor

      Proposed patch removes support of modes 'U' and 'rU' in zipfile.ZipFile.open. This support was baggy and not consistent with other binary file objects. It was deprecated since Python 3.4.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on May 15, 2016
    3. serhiy-storchaka commented on May 23, 2016

      @serhiy-storchaka
      MemberAuthor

      Updated patch addresses Jim's comments.

    4. python-dev commented on Jun 11, 2016

      python-devmannequin
      Mannequin

      New changeset bf8773b054cb by Serhiy Storchaka in branch 'default':
      Issue bpo-27029: Removed deprecated support of universal newlines mode from ZipFile.open().
      https://hg.python.org/cpython/rev/bf8773b054cb

    5. serhiy-storchaka commented on Jun 11, 2016

      @serhiy-storchaka
      MemberAuthor

      Thank you for your review Jim.

    6. 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

    Labels

    stdlibStandard 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