Skip to content

"error passing code, SyntaxError" - fails with 4 lines or more? #71

Closed
@aldanor

Description

@aldanor

So, apparently this fails:

a = 1
debug(
    a,
    a,
    a,
    a,
)

yielding

<ipython-input-540-3818b4c07d3a>:2 <module> (error passing code, SyntaxError: unexpected EOF while parsing (<ipython-input-540-3818b4c07d3a>, line 2))
    1 (int)
    1 (int)
    1 (int)
    1 (int)

However if you join any two of the four lines inside parentheses, it then works just fine.

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