Skip to content

fix_zip when indexed in iteration context #204

@graingert

Description

@graingert

input:

print(set(zip(*[(1, 2)])[0]))

output:

from six.moves import zip
print(set(zip(*[(1, 2)])[0]))

expected:

from six.moves import zip
print(set(list(zip(*[(1, 2)]))[0]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions