Skip to content

enable interrupt for currently executing code in REPL #23337

Closed

Description

@amunger

execute the code in the python REPL

import time
for i in range(100):
    print(i)
    time.sleep(1)

I should be able to stop this code from completing with an interrupt button.

Activity

  1. changed the title [-]enable `interrupt` for currently executing code in REPL - @anthonykim1[/-] [+]enable `interrupt` for currently executing code in REPL[/+] on May 5, 2024
  2. added
    feature-requestRequest for new features or functionality
    and removed
    triage-neededNeeds assignment to the proper sub-team
    on May 5, 2024
  3. anthonykim1 commented on May 7, 2024

    @anthonykim1

    Implemented in: 9f5deae

  4. anthonykim1 commented on May 16, 2024

    @anthonykim1

    Adding note here since I still need to handle case for windows: https://stackoverflow.com/a/64357453 seems like it would be a solution to it, or refer to Jupyter if doesnt work.

  5. anthonykim1 commented on May 29, 2024

    @anthonykim1

    Closing this as I opened new issue for Windows specific and interrupt for mac and linux has been merged

  6. locked as resolved and limited conversation to collaborators on Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitytriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions