Skip to content

Pasteurize doesn't handle multiple tuple unpacking in function args. #290

Open
@newt0311

Description

@newt0311

The function call foo(*a, *b)works in py3 but fails in py2. Right now pasteurize fails to parse this. It would be nice if pasteurize could parse this and replace it with say: foo(*(tuple(a) + tuple(b))).

It's pretty easy to fix by hand so not a huge deal but I thought I bring it to your attention nevertheless.

Thanks.
-- PG.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions