X Tutup
Skip to content

bpython erroneously interprets comma in lambda as belonging to parameter list #158

@ikanobori

Description

@ikanobori

try this:

map(lambda x, y: x + y, _)

where _ is the blinky cursor thingie.

The help display will tell you, that you are supposed to enter the second sequence, but in reality, you are supposed to enter the first sequence. This is because the parser would have to ignore all commas after a "lambda" until the :, but doesn't.


Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup