Skip to content

Reset during input() call gives EOFError and further reset/stop attempts fail to return control #100

@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

From microbit-foundation/python-editor-v3#1102

Reset during an input() call gives EOFError and further reset/stop attempts fail to return control so you can't restart the program in the simulator.

Minimal reproduction:

input("Name? ") # reset when prompted

Originally encountered on microbit-foundation/python-editor-v3#1102 with an input call in a while loop which is a more likely real-world reproduction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions