Skip to content

Our except hooks catch too much (including KeyboardInterrupt) #231

Closed
@gdementen

Description

@gdementen

When trying to stop a program which uses run_editor_on_exception, PyCharm first sends a KeyboardInterrupt which is intercepted by our except hook, which means PyCharm's Ctrl-F5 does not restart the program but opens the editor instead. Then hitting Ctrl-F5 again kills the program, having potentially bad consequences, like leaving behind empty Excel instances around (see larray-project/larray#1008)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions