Skip to content

Slicing with dynamic parameters seems to be broken. #233

@ghost

Description

As in, this will parse:

slice = [ item for item in *items[start, finish] ]

But this will not:

slice = [ item for item in *items[start + 1, finish - 1] ]
-- Failed to parse:
-- [5] >>    slice = [ item for item in *items[start + 1, finish - 1] ]

Not even with parentheses either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions