Skip to content

2to3 does not wrap zip correctly #73023

@cvk

Description

@cvk
mannequin
BPO 28837
Nosy @benjaminp, @berkerpeksag, @Mariatta, @stuarteberg
PRs
  • bpo-28837: Fix lib2to3 handling of map/zip/filter #24
  • [3.6] bpo-28837: Fix lib2to3 handling of map/zip/filter calls when fo… #2235
  • Files
  • fix-28837.patch: In lib2to3 fixers for map, zip, and filter, handle extra "trailers", e.g. zip()[0]
  • 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 2017-06-16.02:57:29.656>
    created_at = <Date 2016-11-30.11:04:58.276>
    labels = ['3.7', 'type-bug', 'expert-2to3']
    title = '2to3 does not wrap zip correctly'
    updated_at = <Date 2017-06-16.02:57:29.654>
    user = 'https://bugs.python.org/cvk'

    bugs.python.org fields:

    activity = <Date 2017-06-16.02:57:29.654>
    actor = 'Mariatta'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-16.02:57:29.656>
    closer = 'Mariatta'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2016-11-30.11:04:58.276>
    creator = 'cvk'
    dependencies = []
    files = ['46343']
    hgrepos = []
    issue_num = 28837
    keywords = ['patch']
    message_count = 8.0
    messages = ['282075', '285796', '285823', '287596', '291211', '291863', '296148', '296149']
    nosy_count = 5.0
    nosy_names = ['benjamin.peterson', 'berker.peksag', 'Mariatta', 'cvk', 'stuarteberg']
    pr_nums = ['24', '2235']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28837'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions