Skip to content

bpython.cli: cannot escape from indented block #102

Open
@ikanobori

Description

@ikanobori

If I start an indented block, for example type "while True:" and then change my mind I cannot get out by just hitting enter a few times, I have to enter some text first. Ctrl+c does not break out of the multiline input either. In vanilla python entering a blank line with no indentation triggers IndentationError and ctrl+c triggers KeyboardInterrupt, both breaking out of the multiline input. I'm rather used to this behavior.


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